1
0
mirror of https://gitlab.com/libvirt/libvirt.git synced 2024-12-27 07:22:07 +03:00
libvirt/tests/qemuhotplugtestdata
Pavel Hrdina 36785c7e77 device: cleanup input device code
The current code was a little bit odd.  At first we've removed all
possible implicit input devices from domain definition to add them later
back if there was any graphics device defined while parsing XML
description.  That's not all, while formating domain definition to XML
description we at first ignore any input devices with bus different to
USB and VIRTIO and few lines later we add implicit input devices to XML.

This seems to me as a lot of code for nothing.  This patch may look
to be more complicated than original approach, but this is a preferred
way to modify/add driver specific stuff only in those drivers and not
deal with them in common parsing/formating functions.

The update is to add those implicit input devices into config XML to
follow the real HW configuration visible by guest OS.

There was also inconsistence between our behavior and QEMU's in the way,
that in QEMU there is no way how to disable those implicit input devices
for x86 architecture and they are available always, even without graphics
device.  This applies also to XEN hypervisor.  VZ driver already does its
part by putting correct implicit devices into live XML.

Signed-off-by: Pavel Hrdina <phrdina@redhat.com>
2016-01-26 17:53:33 +01:00
..
qemuhotplug-console-compat-2+console-virtio.xml video: cleanup usage of vram attribute and update documentation 2014-11-24 22:05:55 +01:00
qemuhotplug-console-virtio.xml qemuhotplugtest: Fix mem-leaking testcases 2014-03-19 14:48:58 +01:00
qemuhotplug-disk-cdrom-nochange.xml tests: Introduce qemuhotplugtest 2013-06-25 17:00:56 +02:00
qemuhotplug-disk-scsi.xml qemuhotplugtest: Add tests for virtio SCSI disk hotplug 2013-08-26 16:09:56 +02:00
qemuhotplug-disk-usb.xml qemuhotplugtest: Add tests for USB disk hotplug 2013-08-26 16:09:56 +02:00
qemuhotplug-disk-virtio.xml qemuhotplugtest: Add tests for virtio disk hotplug 2013-08-26 16:09:55 +02:00
qemuhotplug-graphics-spice-listen-network.xml tests: Introduce qemuhotplugtest 2013-06-25 17:00:56 +02:00
qemuhotplug-graphics-spice-listen.xml tests: Introduce qemuhotplugtest 2013-06-25 17:00:56 +02:00
qemuhotplug-graphics-spice-nochange.xml tests: Introduce qemuhotplugtest 2013-06-25 17:00:56 +02:00
qemuhotplug-graphics-spice-timeout-nochange.xml tests: Introduce qemuhotplugtest 2013-06-25 17:00:56 +02:00
qemuhotplug-graphics-spice-timeout-password.xml tests: Introduce qemuhotplugtest 2013-06-25 17:00:56 +02:00
qemuhotplug-hotplug-base+disk-scsi.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
qemuhotplug-hotplug-base+disk-usb.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
qemuhotplug-hotplug-base+disk-virtio.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00