libvirt/tests/vmx2xmldata
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
..
vmx2xml-annotation.vmx
vmx2xml-annotation.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-case-insensitive-1.vmx
vmx2xml-case-insensitive-1.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-case-insensitive-2.vmx
vmx2xml-case-insensitive-2.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-cdrom-ide-device.vmx
vmx2xml-cdrom-ide-device.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-cdrom-ide-empty.vmx vmx: Adapt to emptyBackingString for cdrom-image 2016-01-25 08:34:23 +01:00
vmx2xml-cdrom-ide-empty.xml vmx: Adapt to emptyBackingString for cdrom-image 2016-01-25 08:34:23 +01:00
vmx2xml-cdrom-ide-file.vmx
vmx2xml-cdrom-ide-file.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-cdrom-ide-raw-auto-detect.vmx VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
vmx2xml-cdrom-ide-raw-auto-detect.xml VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
vmx2xml-cdrom-ide-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
vmx2xml-cdrom-ide-raw-device.xml VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
vmx2xml-cdrom-scsi-device.vmx
vmx2xml-cdrom-scsi-device.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-cdrom-scsi-empty.vmx vmx: Adapt to emptyBackingString for cdrom-image 2016-01-25 08:34:23 +01:00
vmx2xml-cdrom-scsi-empty.xml vmx: Adapt to emptyBackingString for cdrom-image 2016-01-25 08:34:23 +01:00
vmx2xml-cdrom-scsi-file.vmx
vmx2xml-cdrom-scsi-file.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-cdrom-scsi-passthru.vmx vmx: Add handling for CDROM devices with SCSI passthru 2015-09-07 22:19:42 +02:00
vmx2xml-cdrom-scsi-passthru.xml vmx: Add handling for CDROM devices with SCSI passthru 2015-09-07 22:19:42 +02:00
vmx2xml-cdrom-scsi-raw-auto-detect.vmx VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
vmx2xml-cdrom-scsi-raw-auto-detect.xml VMX: Add support for 'auto detect' fileNames 2013-09-17 14:10:40 -05:00
vmx2xml-cdrom-scsi-raw-device.vmx VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
vmx2xml-cdrom-scsi-raw-device.xml VMX: Add cdrom-raw dev type from VMWare Fusion 2013-09-02 17:41:30 -05:00
vmx2xml-datacenterpath.vmx vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01:00
vmx2xml-datacenterpath.xml vmx: Expose datacenter path in domain XML 2015-09-17 11:34:54 +01:00
vmx2xml-esx-in-the-wild-1.vmx
vmx2xml-esx-in-the-wild-1.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-esx-in-the-wild-2.vmx
vmx2xml-esx-in-the-wild-2.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-esx-in-the-wild-3.vmx
vmx2xml-esx-in-the-wild-3.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-esx-in-the-wild-4.vmx
vmx2xml-esx-in-the-wild-4.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-esx-in-the-wild-5.vmx
vmx2xml-esx-in-the-wild-5.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-esx-in-the-wild-6.vmx esx: Fix regression in absolute file name handling 2011-05-26 23:32:44 +02:00
vmx2xml-esx-in-the-wild-6.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-esx-in-the-wild-7.vmx vmx: Add handling for CDROM devices with SCSI passthru 2015-09-07 22:19:42 +02:00
vmx2xml-esx-in-the-wild-7.xml vmx: Add handling for CDROM devices with SCSI passthru 2015-09-07 22:19:42 +02:00
vmx2xml-ethernet-bridged.vmx
vmx2xml-ethernet-bridged.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-custom.vmx
vmx2xml-ethernet-custom.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-e1000.vmx
vmx2xml-ethernet-e1000.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-generated.vmx
vmx2xml-ethernet-generated.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-nat.vmx vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00
vmx2xml-ethernet-nat.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-other.vmx
vmx2xml-ethernet-other.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-static.vmx
vmx2xml-ethernet-static.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-vmxnet2.vmx
vmx2xml-ethernet-vmxnet2.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ethernet-vpx.vmx
vmx2xml-ethernet-vpx.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-floppy-device.vmx
vmx2xml-floppy-device.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-floppy-file.vmx esx: Fix floppy.fileName handling in the vmx file parser 2013-10-15 11:39:02 +01:00
vmx2xml-floppy-file.xml esx: Fix floppy.fileName handling in the vmx file parser 2013-10-15 11:39:02 +01:00
vmx2xml-fusion-in-the-wild-1.vmx VMX: Add a VMWare Fusion 5 configuration for tests 2013-09-17 14:10:41 -05:00
vmx2xml-fusion-in-the-wild-1.xml VMX: Add a VMWare Fusion 5 configuration for tests 2013-09-17 14:10:41 -05:00
vmx2xml-graphics-vnc.vmx
vmx2xml-graphics-vnc.xml device: cleanup input device code 2016-01-26 17:53:33 +01:00
vmx2xml-gsx-in-the-wild-1.vmx
vmx2xml-gsx-in-the-wild-1.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-gsx-in-the-wild-2.vmx
vmx2xml-gsx-in-the-wild-2.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-gsx-in-the-wild-3.vmx
vmx2xml-gsx-in-the-wild-3.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-gsx-in-the-wild-4.vmx
vmx2xml-gsx-in-the-wild-4.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-harddisk-ide-file.vmx
vmx2xml-harddisk-ide-file.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-harddisk-scsi-file.vmx
vmx2xml-harddisk-scsi-file.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-harddisk-transient.vmx Add test for transient disk support in VMX files 2014-01-20 09:47:43 -07:00
vmx2xml-harddisk-transient.xml Add test for transient disk support in VMX files 2014-01-20 09:47:43 -07:00
vmx2xml-minimal-64bit.vmx
vmx2xml-minimal-64bit.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-minimal.vmx
vmx2xml-minimal.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-parallel-device.vmx
vmx2xml-parallel-device.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-parallel-file.vmx
vmx2xml-parallel-file.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-scsi-driver.vmx
vmx2xml-scsi-driver.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-scsi-writethrough.vmx
vmx2xml-scsi-writethrough.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-serial-device.vmx vmx: Fix a VMX parsing problem 2015-01-07 17:17:00 -07:00
vmx2xml-serial-device.xml vmx: Fix a VMX parsing problem 2015-01-07 17:17:00 -07:00
vmx2xml-serial-file.vmx
vmx2xml-serial-file.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-serial-network-client.vmx
vmx2xml-serial-network-client.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-serial-network-server.vmx
vmx2xml-serial-network-server.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-serial-pipe-client-app.vmx
vmx2xml-serial-pipe-client-vm.vmx
vmx2xml-serial-pipe-server-app.vmx
vmx2xml-serial-pipe-server-vm.vmx
vmx2xml-serial-pipe.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-sharedfolder.vmx vmx: handle shared folders parsing 2012-07-21 20:15:02 +02:00
vmx2xml-sharedfolder.xml vmx: handle shared folders parsing 2012-07-21 20:15:02 +02:00
vmx2xml-smbios.vmx
vmx2xml-smbios.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-svga.vmx
vmx2xml-svga.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ws-in-the-wild-1.vmx vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00
vmx2xml-ws-in-the-wild-1.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00
vmx2xml-ws-in-the-wild-2.vmx vmx: Better Workstation vmx handling 2012-02-24 11:53:23 +01:00
vmx2xml-ws-in-the-wild-2.xml numad: Always output 'placement' of <vcpu> 2012-05-08 16:57:37 -06:00