libvirt/tests/qemuxml2xmloutdata
Daniel P. Berrange 19d309025b Fix logic for assigning PCI addresses to USB2 companion controllers
Currently each USB2 companion controller gets put on a separate
PCI slot. Not only is this wasteful of PCI slots, but it is not
in compliance with the spec for USB2 controllers. The master
echi1 and all companion controllers should be in the same slot,
with echi1 in function 7, and uhci1-3 in functions 0-2 respectively.

* src/qemu/qemu_command.c: Special case handling of USB2 controllers
  to apply correct pci slot assignment
* tests/qemuxml2argvdata/qemuxml2argv-usb-ich9-ehci-addr.args,
  tests/qemuxml2argvdata/qemuxml2argv-usb-ich9-ehci-addr.xml: Expand
  test to cover automatic slot assignment
(cherry picked from commit 1ebd52cb87)

Conflicts:

	tests/qemuxml2xmltest.c
2012-06-14 18:16:49 -04:00
..
qemuxml2xmlout-balloon-device-auto.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-channel-virtio-auto.xml qemu: Support numad 2012-03-15 12:24:56 +08:00
qemuxml2xmlout-console-compat-auto.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-console-virtio.xml qemu: Support numad 2012-03-15 12:24:56 +08:00
qemuxml2xmlout-disk-cdrom-empty.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-disk-scsi-device-auto.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-graphics-listen-network2.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-graphics-spice-timeout.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-memtune.xml xml: allow scaled memory on input 2012-03-07 18:24:44 -07:00
qemuxml2xmlout-metadata.xml qemu: Support numad 2012-03-15 12:24:56 +08:00
qemuxml2xmlout-serial-target-port-auto.xml xml: output memory unit for clarity 2012-03-07 18:24:43 -07:00
qemuxml2xmlout-usb-ich9-ehci-addr.xml Fix logic for assigning PCI addresses to USB2 companion controllers 2012-06-14 18:16:49 -04:00