[Libvir] PATCH: Allow Xen HVM kernel+initrd booting
Daniel P. Berrange
berrange at redhat.com
Mon Mar 10 11:39:48 UTC 2008
On Mon, Mar 10, 2008 at 11:33:49AM +0000, Richard W.M. Jones wrote:
> On Sun, Mar 09, 2008 at 09:11:49PM +0000, Daniel P. Berrange wrote:
> > The problem is that the Xen driver expects the OS type to be 'linux'
> > but the capabilities XML is advertising the OS type as 'xen'. Technically
> > 'xen' is the correct value, since its refering to a guest ABI & the ABI
> > is xen, not linux. Since we can't break XML semantics we have to stick
> > with 'linux'. Thus I've added a workaround to make virt-install still
> > use 'linux' if talking to the Xen driver.
> Can we not make the Xen driver accept either?
It does accept either now - in fact it accepts anything which isn't 'hvm'
for the paravirt case. I changed virt-install though so that it is compat
with libvirt < 0.4.1, and when generating XML it'll still use 'linux'
|: Red Hat, Engineering, Boston -o- http://people.redhat.com/berrange/ :|
|: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|
More information about the libvir-list