]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xenconfig: don't use "kernel" for hvmloader
authorJim Fehlig <jfehlig@suse.com>
Fri, 20 Mar 2015 01:03:08 +0000 (19:03 -0600)
committerJim Fehlig <jfehlig@suse.com>
Thu, 16 Apr 2015 22:11:01 +0000 (16:11 -0600)
commit0fe504f15ab87bdf960a65ae2323b7f47f646f05
tree7b2df740d92ed7a7349aa75f3557af46c0780b0e
parent717a92513d37400e0656699dbaed320f1259aacc
xenconfig: don't use "kernel" for hvmloader

In xl config, hvmloader is implied for hvm guests.  It is not
specified with the "kernel" option like xm config.  The "kernel"
option, along with "ramdisk" and "extra", is used for HVM direct
kernel boot.  Instead of using "kernel" option to populate
virDomainDef object's os.loader->path, use hvmloader discovered
when gathering capabilities.

This change required fixing initialization of capabilities in
the test utils and removing 'kernel = "/usr/lib/xen/boot/hvmloader"'
from the test config files.
src/xenconfig/xen_xl.c
tests/testutilsxen.c
tests/xlconfigdata/test-fullvirt-multiusb.cfg
tests/xlconfigdata/test-new-disk.cfg
tests/xlconfigdata/test-spice.cfg