|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH] Guest boot loader support [2/2]
On Wed, 2005-04-13 at 23:03 -0700, Christian Limpach wrote:
> On 4/13/05, Jeremy Katz <katzj@xxxxxxxxxx> wrote:
> > This adds pygrub, an implementation of a bootloader for domU. It reads
> > from the guest filesystem (using libext2fs) and provides a grub-like
> > interface for selecting the kernel/initrd/kernel args for booting your
> > domU.
> >
> > TODO list off the top of my head:
> > * Support filesystems other than ext[23]
>
> Maybe you could use the filesystem reading code from grub? It seems
> to support most filesystems, only question is whether it can be reused
> outside of grub in a userspace application...
The code in grub itself is pretty crufty just because it depends on
nothing more than what a BIOS can give you. There's also a fair bit of
grub specific code for handling things like the tab completion in the
shell interspersed in the code.
So at this point, it just seems that using the standard libraries that
are available for the various filesystems is the cleanest . Granted, I
could potentially change my mind after looking at libreiserfs and
libxfs ;-)
Jeremy
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|