[libvirt] [PATCH 0/9] qemu: Reflect USB controller model in guest XML

Andrea Bolognani abologna at redhat.com
Fri Jul 29 17:46:20 UTC 2016


Patches 1-3 take care of some tiny nits; patches 4-7 clean
up the test suite and add some new test cases that cover
the code changed by subsequent patches.

Patch 8 implements the feature advertised in the subject :)

Patch 9 gets rid of some code that's no longer necessary
after the changes.


Andrea Bolognani (9):
  tests: qemuxml2argv: Remove useless GIC flags
  tests: qemuxml2argv: Fix usb-too-long-port-path-invalid
  tests: qemuxml2xml: Fix disk-mirror
  tests: qemuxml2xml: Use WHEN_BOTH for most tests
  tests: qemuxml2xml: Pass capabilities to DO_TEST()
  tests: qemuxml2xml: Use DO_TEST() for most tests
  tests: qemuxml2xml: Add some USB test cases
  qemu: domain: Reflect USB controller model in guest XML
  qemu: command: Simplify USB controller model selection

 src/qemu/qemu_command.c                            |  60 +-
 src/qemu/qemu_domain.c                             |  20 +
 tests/qemuxml2argvtest.c                           |  16 +-
 .../qemuxml2xmlout-ppc64-usb-controller-legacy.xml |  31 +
 .../qemuxml2xmlout-ppc64-usb-controller.xml        |  31 +
 .../qemuxml2xmlout-usb-controller-default-q35.xml  |  37 +
 .../qemuxml2xmlout-usb-controller-explicit-q35.xml |  37 +
 .../qemuxml2xmlout-usb-controller.xml              |  27 +
 .../qemuxml2xmloutdata/qemuxml2xmlout-usb-none.xml |  25 +
 .../qemuxml2xmlout-usb-piix3-controller.xml        |  27 +
 tests/qemuxml2xmltest.c                            | 932 ++++++++++-----------
 11 files changed, 728 insertions(+), 515 deletions(-)
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-ppc64-usb-controller-legacy.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-ppc64-usb-controller.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-controller-default-q35.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-controller-explicit-q35.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-controller.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-none.xml
 create mode 100644 tests/qemuxml2xmloutdata/qemuxml2xmlout-usb-piix3-controller.xml

-- 
2.7.4




More information about the libvir-list mailing list