This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


[PATCH] Re: [Xen-devel] [PATCH 0/3] domUloader

To: Xen development list <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [PATCH] Re: [Xen-devel] [PATCH 0/3] domUloader
From: Tim Deegan <Tim.Deegan@xxxxxxxxxxxx>
Date: Tue, 17 Jan 2006 12:33:55 +0000
Delivery-date: Tue, 17 Jan 2006 12:41:16 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20060116234330.GC17087@xxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060116234330.GC17087@xxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/

For discussion, attached is a patch to do something similar using the
pygrub code.  It adds another file syntax to xm create, allowing you to
say things like "kernel=guest:(vbda)/boot/vmlinuz", where vbda is what
the new domain will see its block device as.

Because it's based on pygrub, it only handles ext2fs and reiser for
now.  Also, it hasn't got partition-table handling, since that's not
working in pygrub either, but it could be added if necessary. 

The advantage of this is that the dom0 kernel never needs to read the
domU filesystems, so you could run the extraction code without so much

The patch is against -unstable of last month, but I can update it if
people are interested.


Tim Deegan                           (My opinions, not the University's)
Systems Research Group
University of Cambridge Computer Laboratory

Attachment: guest.patch
Description: Text Data

Xen-devel mailing list