[Libvir] [PATCH] Solaris dom0 support

John Levon levon at movementarian.org
Fri Jun 15 01:26:36 UTC 2007

On Fri, Jun 15, 2007 at 01:02:16AM +0100, Daniel P. Berrange wrote:

> > > I'm curious as to what the changes for bootloader / kernel are for ?
> > > Surely you always have either a bootloader, or a kenrel present in
> > > the SEXPR ? So I'm not sure why its neccessary to disable the check
> > 
> > No, this is not true, and it's not true in Xen too. This is stuff that
> > got merged up in my pygrub changes.
> > 
> > Basically the logic is something like:
> > 
> > if there is no kernel specified:
> >     if there is no bootloader specified:
> >         default to pygrub (for Solaris, this will fill in
> >         kernel/ramdisk/extra automatically)
> Ah ha - this is the key clause I was missing. I didn't realize that
> XenD could now default to pygrub. The change in logic makes perfect
> sense now. Though I wonder if we should add in an explicit element
> for  <bootloader>/usr/bin/pygrub</bootloader> to reflect this default
> done by XenD...

What would be the reason for this?

pygrub doesn't live at /usr/bin/pygrub on Solaris, so if you need this
we'd need OS-specific hacks...


More information about the libvir-list mailing list