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

Bjoern Walk posted 6 patches 4 years, 7 months ago
Test syntax-check passed
Failed in applying to current master (apply log)
src/qemu/qemu_command.c                       | 16 ++----
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 ++++++++++
...tdev-subsys-mdev-vfio-ap.s390x-latest.args | 33 ++++++++++++
.../hostdev-subsys-mdev-vfio-ap.xml           | 22 ++++++++
...ubsys-mdev-vfio-ccw-boot.s390x-latest.args | 34 ++++++++++++
.../hostdev-subsys-mdev-vfio-ccw-boot.xml     | 23 ++++++++
tests/qemuxml2argvtest.c                      |  8 +++
.../hostdev-subsys-mdev-vfio-ap.xml           | 27 ++++++++++
...subsys-mdev-vfio-ccw-boot.s390x-latest.xml | 29 ++++++++++
tests/qemuxml2xmltest.c                       |  6 +++
13 files changed, 319 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.s390x-latest.args
create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.xml
create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.s390x-latest.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.s390x-latest.xml
[libvirt] [PATCH 0/6] support boot from vfio-ccw mdev devices
Posted by Bjoern Walk 4 years, 7 months ago
v2 -> v3:
    * use real QEMU capabilities data for tests

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                       | 16 ++----
 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 ++++++++++
 ...tdev-subsys-mdev-vfio-ap.s390x-latest.args | 33 ++++++++++++
 .../hostdev-subsys-mdev-vfio-ap.xml           | 22 ++++++++
 ...ubsys-mdev-vfio-ccw-boot.s390x-latest.args | 34 ++++++++++++
 .../hostdev-subsys-mdev-vfio-ccw-boot.xml     | 23 ++++++++
 tests/qemuxml2argvtest.c                      |  8 +++
 .../hostdev-subsys-mdev-vfio-ap.xml           | 27 ++++++++++
 ...subsys-mdev-vfio-ccw-boot.s390x-latest.xml | 29 ++++++++++
 tests/qemuxml2xmltest.c                       |  6 +++
 13 files changed, 319 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.s390x-latest.args
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.xml
 create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.s390x-latest.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.s390x-latest.xml

-- 
2.21.0

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/6] support boot from vfio-ccw mdev devices
Posted by Ján Tomko 4 years, 7 months ago
On Tue, Aug 27, 2019 at 04:19:17PM +0200, Bjoern Walk wrote:
>v2 -> v3:
>    * use real QEMU capabilities data for tests
>
>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                       | 16 ++----
> 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 ++++++++++
> ...tdev-subsys-mdev-vfio-ap.s390x-latest.args | 33 ++++++++++++
> .../hostdev-subsys-mdev-vfio-ap.xml           | 22 ++++++++
> ...ubsys-mdev-vfio-ccw-boot.s390x-latest.args | 34 ++++++++++++
> .../hostdev-subsys-mdev-vfio-ccw-boot.xml     | 23 ++++++++
> tests/qemuxml2argvtest.c                      |  8 +++
> .../hostdev-subsys-mdev-vfio-ap.xml           | 27 ++++++++++
> ...subsys-mdev-vfio-ccw-boot.s390x-latest.xml | 29 ++++++++++
> tests/qemuxml2xmltest.c                       |  6 +++
> 13 files changed, 319 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.s390x-latest.args
> create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.xml
> create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.s390x-latest.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.s390x-latest.xml
>

Reviewed-by: Ján Tomko <jtomko@redhat.com>

I've dropped the extra .args file in the first patch and pushed the
series.

Jano
--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list
Re: [libvirt] [PATCH 0/6] support boot from vfio-ccw mdev devices
Posted by Bjoern Walk 4 years, 7 months ago
Ján Tomko <jtomko@redhat.com> [2019-08-28, 12:32PM +0200]:
> On Tue, Aug 27, 2019 at 04:19:17PM +0200, Bjoern Walk wrote:
> > v2 -> v3:
> >    * use real QEMU capabilities data for tests
> > 
> > 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                       | 16 ++----
> > 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 ++++++++++
> > ...tdev-subsys-mdev-vfio-ap.s390x-latest.args | 33 ++++++++++++
> > .../hostdev-subsys-mdev-vfio-ap.xml           | 22 ++++++++
> > ...ubsys-mdev-vfio-ccw-boot.s390x-latest.args | 34 ++++++++++++
> > .../hostdev-subsys-mdev-vfio-ccw-boot.xml     | 23 ++++++++
> > tests/qemuxml2argvtest.c                      |  8 +++
> > .../hostdev-subsys-mdev-vfio-ap.xml           | 27 ++++++++++
> > ...subsys-mdev-vfio-ccw-boot.s390x-latest.xml | 29 ++++++++++
> > tests/qemuxml2xmltest.c                       |  6 +++
> > 13 files changed, 319 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.s390x-latest.args
> > create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ap.xml
> > create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-boot.s390x-latest.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.s390x-latest.xml
> > 
> 
> Reviewed-by: Ján Tomko <jtomko@redhat.com>
> 
> I've dropped the extra .args file in the first patch and pushed the
> series.

Thanks, much appreciated!

> 
> Jano


--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list