qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 00/14] vfio: preparation for vfio-user
@ 2025-04-09 13:48 John Levon
  2025-04-09 13:48 ` [PATCH 01/14] vfio: refactor out vfio_interrupt_setup() John Levon
                   ` (14 more replies)
  0 siblings, 15 replies; 53+ messages in thread
From: John Levon @ 2025-04-09 13:48 UTC (permalink / raw)
  To: qemu-devel
  Cc: Tony Krowiak, Stefano Garzarella, Cédric Le Goater, Peter Xu,
	Thomas Huth, Matthew Rosato, David Hildenbrand,
	Michael S. Tsirkin, Alex Williamson, qemu-s390x, Tomita Moeko,
	Philippe Mathieu-Daudé, Halil Pasic, Jason Herne,
	Paolo Bonzini, Eric Farman, John Levon

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-55b1f68fbe69@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



^ permalink raw reply	[flat|nested] 53+ messages in thread

end of thread, other threads:[~2025-04-29 22:43 UTC | newest]

Thread overview: 53+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-04-09 13:48 [PATCH 00/14] vfio: preparation for vfio-user John Levon
2025-04-09 13:48 ` [PATCH 01/14] vfio: refactor out vfio_interrupt_setup() John Levon
2025-04-23 12:20   ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 02/14] vfio: refactor out vfio_pci_config_setup() John Levon
2025-04-09 15:38   ` Tomita Moeko
2025-04-09 15:41     ` John Levon
2025-04-09 13:48 ` [PATCH 03/14] vfio: add vfio_prepare_device() John Levon
2025-04-23 12:45   ` Cédric Le Goater
2025-04-23 13:19     ` John Levon
2025-04-09 13:48 ` [PATCH 04/14] vfio: add vfio_attach_device_by_iommu_type() John Levon
2025-04-23 13:25   ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 05/14] vfio/container: pass listener_begin/commit callbacks John Levon
2025-04-23 13:45   ` Cédric Le Goater
2025-04-24 16:24     ` Cédric Le Goater
2025-04-24 16:28       ` John Levon
2025-04-24 16:35         ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 06/14] vfio: add flags parameter to DMA unmap callback John Levon
2025-04-09 13:48 ` [PATCH 07/14] vfio: specify VFIO_DMA_UNMAP_FLAG_ALL to callback John Levon
2025-04-23 17:01   ` Cédric Le Goater
2025-04-23 17:17     ` John Levon
2025-04-24 17:16       ` Cédric Le Goater
2025-04-24 19:35         ` John Levon
2025-04-28 11:41           ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 08/14] vfio: add vfio-pci-base class John Levon
2025-04-24 15:17   ` Cédric Le Goater
2025-04-24 21:52     ` John Levon
2025-04-25 12:46       ` Cédric Le Goater
2025-04-25 13:01         ` John Levon
2025-04-28 12:53           ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 09/14] vfio: add vfio_device_get_irq_info() helper John Levon
2025-04-23 17:16   ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 10/14] vfio: consistently handle return value for helpers John Levon
2025-04-24 15:19   ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 11/14] vfio: add vfio_pci_config_space_read/write() John Levon
2025-04-09 15:51   ` Tomita Moeko
2025-04-09 15:54     ` John Levon
2025-04-09 16:30       ` Tomita Moeko
2025-04-24 15:59         ` Cédric Le Goater
2025-04-24 16:06   ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 12/14] vfio: add region info cache John Levon
2025-04-24 16:08   ` Cédric Le Goater
2025-04-24 16:26     ` John Levon
2025-04-28 15:16       ` Cédric Le Goater
2025-04-28 15:26         ` John Levon
2025-04-28 15:39   ` Cédric Le Goater
2025-04-28 16:09     ` John Levon
2025-04-29 22:41     ` John Levon
2025-04-09 13:48 ` [PATCH 13/14] vfio: add device IO ops vector John Levon
2025-04-24 16:18   ` Cédric Le Goater
2025-04-09 13:48 ` [PATCH 14/14] vfio/container: pass MemoryRegion to DMA operations John Levon
2025-04-24 16:32   ` Cédric Le Goater
2025-04-24 17:49     ` John Levon
2025-04-25  7:59 ` [PATCH 00/14] vfio: preparation for vfio-user Cédric Le Goater

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).