[libvirt] [PATCH 0/8] vfio-ccw passthrough support

Cornelia Huck cohuck at redhat.com
Wed Apr 11 16:11:45 UTC 2018


On Wed, 11 Apr 2018 17:49:51 +0200
Shalini Chellathurai Saroja <shalini at linux.vnet.ibm.com> wrote:

> Let us support the basic channel I/O passthrough infrastructure based on
> vfio, which have been introduced in QEMU 2.10. The current focus is to
> support dasd-eckd (cu_type/dev_type = 0x3990/0x3390) as the target
> device.

Neat.

Quick question: Does "current focus" mean "we have only tested it with
ECKD DASD", or "we only allow passthrough of 3990/3390 devices"?

> 
> Shalini Chellathurai Saroja (8):
>   qemu: introduce capability for virtual-css-bridge
>   qemu: introduce vfio-ccw capability
>   util: virhostdev: add virHostdevIsMdevDevice()
>   qemu: vfio-ccw device address generation
>   qemu: command line generation for vfio-ccw device
>   tests: tests for vfio-ccw passthrough
>   docs: documentation for vfio-ccw passthrough
>   news: documentation of new feature
> 
>  docs/drvnodedev.html.in                            |  21 ++++-
>  docs/formatdomain.html.in                          |  20 +++-
>  docs/news.xml                                      |   9 ++
>  docs/schemas/domaincommon.rng                      |   5 +-
>  src/libvirt_private.syms                           |   1 +
>  src/qemu/qemu_capabilities.c                       |  23 +++++
>  src/qemu/qemu_capabilities.h                       |   5 +
>  src/qemu/qemu_command.c                            |  37 ++++++--
>  src/qemu/qemu_domain.c                             |   2 +-
>  src/qemu/qemu_domain_address.c                     |  32 +++++--
>  src/qemu/qemu_hostdev.c                            |   3 +-
>  src/qemu/qemu_hotplug.c                            |   4 +-
>  src/util/virhostdev.c                              |  26 ++++--
>  src/util/virhostdev.h                              |   3 +
>  src/util/virmdev.c                                 |   3 +-
>  src/util/virmdev.h                                 |   1 +
>  .../qemucapabilitiesdata/caps_2.10.0.s390x.replies |  28 ++++--
>  tests/qemucapabilitiesdata/caps_2.10.0.s390x.xml   |   3 +-
>  .../qemucapabilitiesdata/caps_2.11.0.s390x.replies |  28 ++++--
>  tests/qemucapabilitiesdata/caps_2.11.0.s390x.xml   |   3 +-
>  .../qemucapabilitiesdata/caps_2.12.0.s390x.replies |  31 +++++--
>  tests/qemucapabilitiesdata/caps_2.12.0.s390x.xml   |   3 +
>  .../qemucapabilitiesdata/caps_2.7.0.s390x.replies  |  24 +++--
>  tests/qemucapabilitiesdata/caps_2.7.0.s390x.xml    |   3 +-
>  .../qemucapabilitiesdata/caps_2.8.0.s390x.replies  |  28 ++++--
>  tests/qemucapabilitiesdata/caps_2.8.0.s390x.xml    |   3 +-
>  .../qemucapabilitiesdata/caps_2.9.0.s390x.replies  |  28 ++++--
>  tests/qemucapabilitiesdata/caps_2.9.0.s390x.xml    |   3 +-
>  tests/qemuhotplugtest.c                            |   2 +-
>  ...tdev-subsys-mdev-vfio-ccw-duplicate-address.xml |  29 ++++++
>  ...ostdev-subsys-mdev-vfio-ccw-invalid-address.xml |  23 +++++
>  .../hostdev-subsys-mdev-vfio-ccw.args              |  23 +++++
>  .../hostdev-subsys-mdev-vfio-ccw.xml               |  22 +++++
>  tests/qemuxml2argvtest.c                           | 102 ++++++++++++---------
>  .../hostdev-subsys-mdev-vfio-ccw.xml               |  28 ++++++
>  tests/qemuxml2xmltest.c                            |  31 ++++---
>  36 files changed, 491 insertions(+), 149 deletions(-)
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-duplicate-address.xml
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw-invalid-address.xml
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.args
>  create mode 100644 tests/qemuxml2argvdata/hostdev-subsys-mdev-vfio-ccw.xml
>  create mode 100644 tests/qemuxml2xmloutdata/hostdev-subsys-mdev-vfio-ccw.xml
> 




More information about the libvir-list mailing list