]> git.ipfire.org Git - thirdparty/libvirt.git/commit
xen: recognize device_model_override
authorOlaf Hering <olaf@aepfle.de>
Fri, 20 Nov 2020 12:29:14 +0000 (13:29 +0100)
committerJim Fehlig <jfehlig@suse.com>
Mon, 7 Dec 2020 22:38:31 +0000 (15:38 -0700)
commitdf89071faa0bac101f8513d5c08dc823f8a3b71d
treebef008e6497f0617ff6a3b74f5b768551729a8a2
parentcf4e7e620a3ecd109f23c8cdb577893d0e088201
xen: recognize device_model_override

Since Xen 4.2 libxl expects device_model_override="/path" instead of
device_model="/path". Adjust the code to parse this as <emulator>.

While libxl also recognizes device_model_version="", this knob is not
required for libvirt. A runtime detection exists in libvirt to select
either "qemu-xen" or "qemu-xen-traditional".
Since qemu-xen-traditional is marked as supported just for stubdoms
there is no need to handle it.

Test data files with 'device_model' were adjusted to use
'device_model_override' instead.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
61 files changed:
src/libxl/xen_common.c
tests/xlconfigdata/test-disk-positional-parms-full.cfg
tests/xlconfigdata/test-disk-positional-parms-partial.cfg
tests/xlconfigdata/test-disk-qed.cfg
tests/xlconfigdata/test-fullvirt-acpi-slic.cfg
tests/xlconfigdata/test-fullvirt-cpuid.cfg
tests/xlconfigdata/test-fullvirt-direct-kernel-boot-bogus-extra.cfg
tests/xlconfigdata/test-fullvirt-direct-kernel-boot-extra.cfg
tests/xlconfigdata/test-fullvirt-direct-kernel-boot.cfg
tests/xlconfigdata/test-fullvirt-hpet-timer.cfg
tests/xlconfigdata/test-fullvirt-hypervisor-features.cfg
tests/xlconfigdata/test-fullvirt-multi-timer.cfg
tests/xlconfigdata/test-fullvirt-multiserial.cfg
tests/xlconfigdata/test-fullvirt-multiusb.cfg
tests/xlconfigdata/test-fullvirt-nestedhvm-disabled.cfg
tests/xlconfigdata/test-fullvirt-nestedhvm.cfg
tests/xlconfigdata/test-fullvirt-nohap.cfg
tests/xlconfigdata/test-fullvirt-ovmf.cfg
tests/xlconfigdata/test-fullvirt-ovswitch-tagged.cfg
tests/xlconfigdata/test-fullvirt-ovswitch-trunked.cfg
tests/xlconfigdata/test-fullvirt-pci.cfg
tests/xlconfigdata/test-fullvirt-tsc-timer.cfg
tests/xlconfigdata/test-fullvirt-type.cfg
tests/xlconfigdata/test-fullvirt-vnuma-autocomplete.cfg
tests/xlconfigdata/test-fullvirt-vnuma-nodistances.cfg
tests/xlconfigdata/test-fullvirt-vnuma-partialdist.cfg
tests/xlconfigdata/test-fullvirt-vnuma.cfg
tests/xlconfigdata/test-net-fakemodel.cfg
tests/xlconfigdata/test-new-disk.cfg
tests/xlconfigdata/test-qemu-passthrough.cfg
tests/xlconfigdata/test-rbd-multihost-noauth.cfg
tests/xlconfigdata/test-spice-features.cfg
tests/xlconfigdata/test-spice.cfg
tests/xlconfigdata/test-vif-multi-ip.cfg
tests/xlconfigdata/test-vif-rate.cfg
tests/xlconfigdata/test-vif-typename.cfg
tests/xmconfigdata/test-escape-paths.cfg
tests/xmconfigdata/test-fullvirt-default-feature.cfg
tests/xmconfigdata/test-fullvirt-force-hpet.cfg
tests/xmconfigdata/test-fullvirt-force-nohpet.cfg
tests/xmconfigdata/test-fullvirt-localtime.cfg
tests/xmconfigdata/test-fullvirt-net-netfront.cfg
tests/xmconfigdata/test-fullvirt-new-cdrom.cfg
tests/xmconfigdata/test-fullvirt-nohap.cfg
tests/xmconfigdata/test-fullvirt-parallel-tcp.cfg
tests/xmconfigdata/test-fullvirt-serial-file.cfg
tests/xmconfigdata/test-fullvirt-serial-null.cfg
tests/xmconfigdata/test-fullvirt-serial-pipe.cfg
tests/xmconfigdata/test-fullvirt-serial-pty.cfg
tests/xmconfigdata/test-fullvirt-serial-stdio.cfg
tests/xmconfigdata/test-fullvirt-serial-tcp-telnet.cfg
tests/xmconfigdata/test-fullvirt-serial-tcp.cfg
tests/xmconfigdata/test-fullvirt-serial-udp.cfg
tests/xmconfigdata/test-fullvirt-serial-unix.cfg
tests/xmconfigdata/test-fullvirt-sound.cfg
tests/xmconfigdata/test-fullvirt-usbmouse.cfg
tests/xmconfigdata/test-fullvirt-usbtablet.cfg
tests/xmconfigdata/test-fullvirt-utc.cfg
tests/xmconfigdata/test-no-source-cdrom.cfg
tests/xmconfigdata/test-pci-dev-syntax.cfg
tests/xmconfigdata/test-pci-devs.cfg