[PULL 00/22] vfio queue

Cédric Le Goater posted 22 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20231018094531.733211-1-clg@redhat.com
Maintainers: Eduardo Habkost <eduardo@habkost.net>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Philippe Mathieu-Daudé" <philmd@linaro.org>, Yanan Wang <wangyanan55@huawei.com>, Gerd Hoffmann <kraxel@redhat.com>, Tony Krowiak <akrowiak@linux.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Jason Herne <jjherne@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>, Eric Farman <farman@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, "Michael S. Tsirkin" <mst@redhat.com>, Cornelia Huck <cohuck@redhat.com>, Paolo Bonzini <pbonzini@redhat.com>
There is a newer version of this series
hw/vfio/pci.h                   |    3 +
include/hw/display/ramfb.h      |    4 +
include/hw/s390x/vfio-ccw.h     |    2 -
include/hw/vfio/vfio-common.h   |   60 +-
linux-headers/linux/iommufd.h   |  444 +++++++++
hw/core/machine.c               |    2 +
hw/display/ramfb-standalone.c   |   27 +
hw/display/ramfb.c              |   19 +
hw/vfio/ap.c                    |   76 +-
hw/vfio/ccw.c                   |  117 +--
hw/vfio/common.c                | 1887 +++------------------------------------
hw/vfio/container.c             | 1161 ++++++++++++++++++++++++
hw/vfio/display.c               |   21 +
hw/vfio/helpers.c               |  612 +++++++++++++
hw/vfio/pci.c                   |   97 +-
hw/vfio/platform.c              |   43 +-
stubs/ramfb.c                   |    2 +
hw/vfio/meson.build             |    2 +
hw/vfio/trace-events            |    4 +-
scripts/update-linux-headers.sh |    3 +-
20 files changed, 2593 insertions(+), 1993 deletions(-)
create mode 100644 linux-headers/linux/iommufd.h
create mode 100644 hw/vfio/container.c
create mode 100644 hw/vfio/helpers.c
[PULL 00/22] vfio queue
Posted by Cédric Le Goater 1 year, 1 month ago
The following changes since commit ec6f9f135d5e5596ab0258da2ddd048f1fd8c359:

  Merge tag 'migration-20231017-pull-request' of https://gitlab.com/juan.quintela/qemu into staging (2023-10-17 10:06:21 -0400)

are available in the Git repository at:

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

for you to fetch changes up to 8741781157f09a9f79bb652f8a0210d40f814cd0:

  hw/vfio: add ramfb migration support (2023-10-18 10:10:49 +0200)

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

* Support for VFIODisplay migration with ramfb
* Preliminary work for IOMMUFD support

----------------------------------------------------------------
Eric Auger (8):
      scripts/update-linux-headers: Add iommufd.h
      vfio/common: Propagate KVM_SET_DEVICE_ATTR error if any
      vfio/common: Introduce vfio_container_add|del_section_window()
      vfio/pci: Introduce vfio_[attach/detach]_device
      vfio/platform: Use vfio_[attach/detach]_device
      vfio/ap: Use vfio_[attach/detach]_device
      vfio/ccw: Use vfio_[attach/detach]_device
      vfio/pci: Remove vfio_detach_device from vfio_realize error path

Marc-André Lureau (3):
      ramfb: add migration support
      ramfb-standalone: add migration support
      hw/vfio: add ramfb migration support

Yi Liu (2):
      vfio/common: Move IOMMU agnostic helpers to a separate file
      vfio/common: Move legacy VFIO backend code into separate container.c

Zhenzhong Duan (9):
      linux-headers: Add iommufd.h
      vfio/common: Extract out vfio_kvm_device_[add/del]_fd
      vfio/common: Move VFIO reset handler registration to a group agnostic function
      vfio/common: Introduce a per container device list
      vfio/common: Store the parent container in VFIODevice
      vfio/common: Introduce a global VFIODevice list
      vfio/pci: Fix a potential memory leak in vfio_listener_region_add
      vfio/ap: Remove pointless apdev variable
      vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW

 hw/vfio/pci.h                   |    3 +
 include/hw/display/ramfb.h      |    4 +
 include/hw/s390x/vfio-ccw.h     |    2 -
 include/hw/vfio/vfio-common.h   |   60 +-
 linux-headers/linux/iommufd.h   |  444 +++++++++
 hw/core/machine.c               |    2 +
 hw/display/ramfb-standalone.c   |   27 +
 hw/display/ramfb.c              |   19 +
 hw/vfio/ap.c                    |   76 +-
 hw/vfio/ccw.c                   |  117 +--
 hw/vfio/common.c                | 1887 +++------------------------------------
 hw/vfio/container.c             | 1161 ++++++++++++++++++++++++
 hw/vfio/display.c               |   21 +
 hw/vfio/helpers.c               |  612 +++++++++++++
 hw/vfio/pci.c                   |   97 +-
 hw/vfio/platform.c              |   43 +-
 stubs/ramfb.c                   |    2 +
 hw/vfio/meson.build             |    2 +
 hw/vfio/trace-events            |    4 +-
 scripts/update-linux-headers.sh |    3 +-
 20 files changed, 2593 insertions(+), 1993 deletions(-)
 create mode 100644 linux-headers/linux/iommufd.h
 create mode 100644 hw/vfio/container.c
 create mode 100644 hw/vfio/helpers.c

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

Please update the changelog at https://wiki.qemu.org/ChangeLog/8.2 for any user-visible changes.