[libvirt] [PATCH v2 0/6] support boot from vfio-ccw mdev devices

Boris Fiuczynski fiuczy at linux.ibm.com
Tue Aug 13 15:40:24 UTC 2019


Changes in v2:
1. moved refactoring into separate patch
2. removed line misalignment
3. moved valition from command line generator into domain xml validation
4. added tests for vfio-ap and vhost scsi

Boris Fiuczynski (6):
  tests: add vfio-ap mdev tests
  tests: add vhost scsi hostdev boot unsupported test
  qemu: move hostdev boot validation into domain validation
  qemu: make error messages device specific
  qemu: refactor mdev validation method signatures
  qemu: support bootindex on vfio-ccw mdev devices

 src/qemu/qemu_command.c                       | 17 ++----
 src/qemu/qemu_domain.c                        | 53 ++++++++++++++-----
 .../hostdev-scsi-vhost-scsi-pci-boot-fail.xml | 41 ++++++++++++++
 .../hostdev-subsys-mdev-vfio-ap-boot-fail.xml | 23 ++++++++
 .../hostdev-subsys-mdev-vfio-ap.args          | 28 ++++++++++
 .../hostdev-subsys-mdev-vfio-ap.xml           | 22 ++++++++
 .../hostdev-subsys-mdev-vfio-ccw-boot.args    | 29 ++++++++++
 .../hostdev-subsys-mdev-vfio-ccw-boot.xml     | 23 ++++++++
 tests/qemuxml2argvtest.c                      | 16 ++++++
 .../hostdev-subsys-mdev-vfio-ap.xml           | 27 ++++++++++
 .../hostdev-subsys-mdev-vfio-ccw-boot.xml     | 28 ++++++++++
 tests/qemuxml2xmltest.c                       |  8 +++
 12 files changed, 291 insertions(+), 24 deletions(-)
 create mode 100644 tests/qemuxml2argvdata/hostdev-scsi-vhost-scsi-pci-boot-fail.xml
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap-boot-fail.xml
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.args
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.xml
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.args
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.xml
 create mode 100644 tests/qemuxml2xmloutdata/hostdev-subsys-mdev-vfio-ap.xml
 create mode 100644 tests/qemuxml2xmloutdata/hostdev-subsys-mdev-vfio-ccw-boot.xml

-- 
2.17.0




More information about the libvir-list mailing list