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

Boris Fiuczynski posted 6 patches 4 years, 8 months ago
Test syntax-check passed
Failed in applying to current master (apply log)
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
[libvirt] [PATCH v2 0/6] support boot from vfio-ccw mdev devices
Posted by Boris Fiuczynski 4 years, 8 months ago
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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/6] support boot from vfio-ccw mdev devices
Posted by Bjoern Walk 4 years, 8 months ago
Boris Fiuczynski <fiuczy@linux.ibm.com> [2019-08-13, 05:40PM +0200]:
> 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

ping. Anyone wants to have a look?

-- 
IBM Systems
Linux on Z & Virtualization Development
--------------------------------------------------
IBM Deutschland Research & Development GmbH
Schönaicher Str. 220, 71032 Böblingen
Phone: +49 7031 16 1819
--------------------------------------------------
Vorsitzende des Aufsichtsrats: Matthias Hartmann
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH v2 0/6] support boot from vfio-ccw mdev devices
Posted by Bjoern Walk 4 years, 7 months ago
Bjoern Walk <bwalk@linux.ibm.com> [2019-08-20, 12:19PM +0200]:
> Boris Fiuczynski <fiuczy@linux.ibm.com> [2019-08-13, 05:40PM +0200]:
> > 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
> 
> ping. Anyone wants to have a look?

ping^2 :)

-- 
IBM Systems
Linux on Z & Virtualization Development
--------------------------------------------------
IBM Deutschland Research & Development GmbH
Schönaicher Str. 220, 71032 Böblingen
Phone: +49 7031 16 1819
--------------------------------------------------
Vorsitzende des Aufsichtsrats: Matthias Hartmann
Geschäftsführung: Dirk Wittkopp
Sitz der Gesellschaft: Böblingen
Registergericht: Amtsgericht Stuttgart, HRB 243294
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list