Hi, this series is based on Cédric Le Goater's vfio cleanup series:
https://github.com/legoater/qemu/commits/vfio-10.1

The series contains patches to vfio to prepare for the vfio-user
implementation. A previous version of these patches can be found at
https://lore.kernel.org/all/7dd34008-e0f1-4eed-a77e-55b1f68fb...@redhat.com/T/
("[PATCH v8 00/28] vfio-user client"); roughly corresponding to patches 1-10.

Please see that series for justification and context.

The following changes have been made since the previous series:

 - rebased on top of vfio-10.1 cleanup series
 - split unmap all patch into two, fixed some nits, dropped unmap all detection
 - fix two vfio_interrupt_setup() cleanup bugs
 - various renames as per review
 - new vfio_device_get_irq_info()
 - split out device ops patch into smaller chunks
 - region cache renames for clarity
 - commit author corrected for several patches

thanks
john

John Levon (14):
  vfio: refactor out vfio_interrupt_setup()
  vfio: refactor out vfio_pci_config_setup()
  vfio: add vfio_prepare_device()
  vfio: add vfio_attach_device_by_iommu_type()
  vfio/container: pass listener_begin/commit callbacks
  vfio: add flags parameter to DMA unmap callback
  vfio: specify VFIO_DMA_UNMAP_FLAG_ALL to callback
  vfio: add vfio-pci-base class
  vfio: add vfio_device_get_irq_info() helper
  vfio: consistently handle return value for helpers
  vfio: add vfio_pci_config_space_read/write()
  vfio: add region info cache
  vfio: add device IO ops vector
  vfio/container: pass MemoryRegion to DMA operations

 hw/vfio/ap.c                          |  21 +-
 hw/vfio/ccw.c                         |  27 +-
 hw/vfio/container-base.c              |  14 +-
 hw/vfio/container.c                   |  74 ++-
 hw/vfio/device.c                      | 178 ++++++-
 hw/vfio/igd.c                         |   8 +-
 hw/vfio/iommufd.c                     |  35 +-
 hw/vfio/listener.c                    |  82 ++--
 hw/vfio/pci.c                         | 672 +++++++++++++++-----------
 hw/vfio/pci.h                         |  12 +-
 hw/vfio/platform.c                    |   8 +-
 hw/vfio/region.c                      |  19 +-
 hw/virtio/vhost-vdpa.c                |   2 +-
 include/exec/memory.h                 |   4 +-
 include/hw/vfio/vfio-container-base.h |  10 +-
 include/hw/vfio/vfio-device.h         |  34 +-
 system/memory.c                       |   7 +-
 17 files changed, 784 insertions(+), 423 deletions(-)

-- 
2.34.1


Reply via email to