[PULL 00/14] vfio queue

Cédric Le Goater posted 14 patches 1 month, 1 week ago
Failed in applying to current master (apply log)
Maintainers: Yi Liu <yi.l.liu@intel.com>, Eric Auger <eric.auger@redhat.com>, Zhenzhong Duan <zhenzhong.duan@intel.com>, John Levon <john.levon@nutanix.com>, Thanos Makatos <thanos.makatos@nutanix.com>, "Cédric Le Goater" <clg@redhat.com>, Pierrick Bouvier <pierrick.bouvier@linaro.org>, Peter Maydell <peter.maydell@linaro.org>, "Michael S. Tsirkin" <mst@redhat.com>, Jason Wang <jasowang@redhat.com>, "Clément Mathieu--Drif" <clement.mathieu--drif@bull.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Richard Henderson <richard.henderson@linaro.org>, Alex Williamson <alex@shazbot.org>, Tony Krowiak <akrowiak@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Jason Herne <jjherne@linux.ibm.com>, Cornelia Huck <cohuck@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Nicholas Piggin <npiggin@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Ilya Leoshkevich <iii@linux.ibm.com>, David Hildenbrand <david@kernel.org>
There is a newer version of this series
docs/interop/vfio-user.rst    |   8 +-
hw/arm/smmuv3-accel.h         |   2 +-
hw/vfio-user/protocol.h       |  14 ++-
hw/vfio/kvm-spapr.h           |  12 +++
hw/vfio/pci.h                 |   2 +
include/hw/core/iommu.h       |   2 +
include/hw/vfio/vfio-device.h |  14 +++
include/system/iommufd.h      |  12 +--
target/s390x/kvm/kvm_s390x.h  |   2 +-
backends/iommufd.c            |  26 +++---
hw/arm/smmuv3-accel.c         |  93 ++++++++++----------
hw/i386/intel_iommu.c         |   7 +-
hw/i386/intel_iommu_accel.c   |  44 +++++-----
hw/vfio-user/device.c         |  42 +++++++++
hw/vfio-user/pci.c            |  30 +++++--
hw/vfio/ap.c                  |  11 +--
hw/vfio/ccw.c                 |   9 --
hw/vfio/container-legacy.c    |  10 +--
hw/vfio/device.c              |  13 +++
hw/vfio/helpers.c             | 172 -------------------------------------
hw/vfio/igd-stubs.c           |  20 +++++
hw/vfio/iommufd.c             |  35 +++++---
hw/vfio/kvm-helpers.c         | 192 ++++++++++++++++++++++++++++++++++++++++++
hw/vfio/kvm-spapr.c           |  47 +++++++++++
hw/vfio/kvm-stubs.c           |  34 ++++++++
hw/vfio/listener.c            |   4 -
hw/vfio/pci-quirks.c          |   5 --
hw/vfio/pci.c                 |  39 +++------
hw/vfio/region.c              |   5 ++
hw/vfio/spapr.c               |  30 +------
hw/vfio-user/trace-events     |  23 ++---
hw/vfio/meson.build           |   6 +-
32 files changed, 580 insertions(+), 385 deletions(-)
create mode 100644 hw/vfio/kvm-spapr.h
create mode 100644 hw/vfio/igd-stubs.c
create mode 100644 hw/vfio/kvm-helpers.c
create mode 100644 hw/vfio/kvm-spapr.c
create mode 100644 hw/vfio/kvm-stubs.c
[PULL 00/14] vfio queue
Posted by Cédric Le Goater 1 month, 1 week ago
The following changes since commit 98b060da3a4f92b2a994ead5b16a87e783baf77c:

  Update version for v11.0.0 release (2026-04-21 16:28:47 +0100)

are available in the Git repository at:

  https://github.com/legoater/qemu/ tags/pull-vfio-20260421

for you to fetch changes up to aad4254c6d00d9382ae8a6d105a74f493760e738:

  vfio-user: fix DMA write reply (2026-04-21 18:28:42 +0200)

----------------------------------------------------------------
vfio queue:

* Refactors vfio code to remove CONFIG_KVM, CONFIG_IOMMU and
  CONFIG_VFIO_IGD, enabling vfio files to be common files
* Extracts KVM-specific helpers and SPAPR KVM code into separate files
* Improves iommufd with dirty tracking support for nesting parent
  HWPT and variable naming cleanup
* Adds VFIO I/O backend capability flags for feature support
* Enhances vfio-user with DEVICE_FEATURE support and DMA protocol fixes

----------------------------------------------------------------
Cédric Le Goater (1):
      vfio: Add VFIO I/O backend capability flags for feature support

John Levon (3):
      vfio-user: support VFIO_USER_DEVICE_FEATURE
      vfio-user: correct protocol for DMA reads/writes
      vfio-user: fix DMA write reply

Pierrick Bouvier (8):
      hw/vfio/listener.c: remove CONFIG_KVM
      hw/vfio/helpers.c: extract kvm helpers in kvm-helpers.c
      hw/vfio/pci-quirks.c: remove CONFIG_VFIO_IGD
      hw/vfio: eradicate CONFIG_IOMMU from sources
      hw/vfio/pci.c: eradicate CONFIG_KVM
      hw/vfio/ap.c: use full path for target specific header
      hw/vfio/spapr.c: extract vfio_spapr_kvm_attach_tce to hw/vfio/kvm-spapr.c
      hw/vfio: all vfio files can now be common files

Shameer Kolothum (1):
      hw/vfio/iommufd: Control dirty tracking for nesting parent HWPT

Zhenzhong Duan (1):
      iommufd: Rename all the idev and idevc variables to hiod and hiodc

 docs/interop/vfio-user.rst    |   8 +-
 hw/arm/smmuv3-accel.h         |   2 +-
 hw/vfio-user/protocol.h       |  14 ++-
 hw/vfio/kvm-spapr.h           |  12 +++
 hw/vfio/pci.h                 |   2 +
 include/hw/core/iommu.h       |   2 +
 include/hw/vfio/vfio-device.h |  14 +++
 include/system/iommufd.h      |  12 +--
 target/s390x/kvm/kvm_s390x.h  |   2 +-
 backends/iommufd.c            |  26 +++---
 hw/arm/smmuv3-accel.c         |  93 ++++++++++----------
 hw/i386/intel_iommu.c         |   7 +-
 hw/i386/intel_iommu_accel.c   |  44 +++++-----
 hw/vfio-user/device.c         |  42 +++++++++
 hw/vfio-user/pci.c            |  30 +++++--
 hw/vfio/ap.c                  |  11 +--
 hw/vfio/ccw.c                 |   9 --
 hw/vfio/container-legacy.c    |  10 +--
 hw/vfio/device.c              |  13 +++
 hw/vfio/helpers.c             | 172 -------------------------------------
 hw/vfio/igd-stubs.c           |  20 +++++
 hw/vfio/iommufd.c             |  35 +++++---
 hw/vfio/kvm-helpers.c         | 192 ++++++++++++++++++++++++++++++++++++++++++
 hw/vfio/kvm-spapr.c           |  47 +++++++++++
 hw/vfio/kvm-stubs.c           |  34 ++++++++
 hw/vfio/listener.c            |   4 -
 hw/vfio/pci-quirks.c          |   5 --
 hw/vfio/pci.c                 |  39 +++------
 hw/vfio/region.c              |   5 ++
 hw/vfio/spapr.c               |  30 +------
 hw/vfio-user/trace-events     |  23 ++---
 hw/vfio/meson.build           |   6 +-
 32 files changed, 580 insertions(+), 385 deletions(-)
 create mode 100644 hw/vfio/kvm-spapr.h
 create mode 100644 hw/vfio/igd-stubs.c
 create mode 100644 hw/vfio/kvm-helpers.c
 create mode 100644 hw/vfio/kvm-spapr.c
 create mode 100644 hw/vfio/kvm-stubs.c


Re: [PULL 00/14] vfio queue
Posted by Stefan Hajnoczi 1 month, 1 week ago
Applied, thanks.