[PULL 00/29] vfio queue

Cédric Le Goater posted 29 patches 2 days, 9 hours ago
Failed in applying to current master (apply log)
Maintainers: Nicholas Piggin <npiggin@gmail.com>, Harsh Prateek Bora <harshpb@linux.ibm.com>, Matthew Rosato <mjrosato@linux.ibm.com>, Eric Farman <farman@linux.ibm.com>, Thomas Huth <thuth@redhat.com>, Halil Pasic <pasic@linux.ibm.com>, Christian Borntraeger <borntraeger@linux.ibm.com>, Richard Henderson <richard.henderson@linaro.org>, David Hildenbrand <david@redhat.com>, Ilya Leoshkevich <iii@linux.ibm.com>, John Levon <john.levon@nutanix.com>, Thanos Makatos <thanos.makatos@nutanix.com>, "Cédric Le Goater" <clg@redhat.com>, Alex Williamson <alex.williamson@redhat.com>, Steve Sistare <steven.sistare@oracle.com>, Paolo Bonzini <pbonzini@redhat.com>, Zhao Liu <zhao1.liu@intel.com>
There is a newer version of this series
MAINTAINERS                                      |    1 +
hw/vfio-user/container.h                         |    4 +-
hw/vfio/pci.h                                    |    2 +-
hw/vfio/types.h                                  |    4 +-
hw/vfio/vfio-iommufd.h                           |    9 +-
hw/vfio/vfio-listener.h                          |    4 +-
include/hw/vfio/vfio-container-base.h            |  279 -----
include/hw/vfio/vfio-container-legacy.h          |   39 +
include/hw/vfio/vfio-container.h                 |  286 ++++-
include/hw/vfio/vfio-cpr.h                       |   15 +-
include/hw/vfio/vfio-device.h                    |   12 +-
hw/ppc/spapr_pci_vfio.c                          |   14 +-
hw/s390x/s390-pci-vfio.c                         |   16 +-
hw/vfio-user/container.c                         |   18 +-
hw/vfio-user/pci.c                               |   35 +-
hw/vfio/container-base.c                         |  347 ------
hw/vfio/container-legacy.c                       | 1277 +++++++++++++++++++++
hw/vfio/container.c                              | 1325 ++++------------------
hw/vfio/cpr-iommufd.c                            |    4 +-
hw/vfio/cpr-legacy.c                             |   43 +-
hw/vfio/device.c                                 |    4 +-
hw/vfio/iommufd.c                                |   48 +-
hw/vfio/listener.c                               |   74 +-
hw/vfio/pci.c                                    |   68 +-
hw/vfio/spapr.c                                  |   52 +-
hw/vfio/meson.build                              |    2 +-
tests/functional/x86_64/meson.build              |    1 +
tests/functional/x86_64/test_vfio_user_client.py |  201 ++++
28 files changed, 2194 insertions(+), 1990 deletions(-)
delete mode 100644 include/hw/vfio/vfio-container-base.h
create mode 100644 include/hw/vfio/vfio-container-legacy.h
delete mode 100644 hw/vfio/container-base.c
create mode 100644 hw/vfio/container-legacy.c
create mode 100755 tests/functional/x86_64/test_vfio_user_client.py
[PULL 00/29] vfio queue
Posted by Cédric Le Goater 2 days, 9 hours ago
The following changes since commit 95b9e0d2ade5d633fd13ffba96a54e87c65baf39:

  Merge tag 'for-upstream' of https://gitlab.com/bonzini/qemu into staging (2025-09-24 12:04:18 -0700)

are available in the Git repository at:

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

for you to fetch changes up to 7c773b4267ae10820ed5e3ec6b15219b39dbcebd:

  include/hw/vfio/vfio-device.h: fix include header guard name (2025-09-25 17:55:20 +0200)

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

* New vfio-user functional test
* Improved naming conventions

----------------------------------------------------------------
Mark Cave-Ayland (29):
      tests/functional: add a vfio-user smoke test
      include/hw/vfio/vfio-container.h: rename VFIOContainer to VFIOLegacyContainer
      include/hw/vfio/vfio-container-base.h: rename VFIOContainerBase to VFIOContainer
      include/hw/vfio/vfio-container.h: rename file to vfio-container-legacy.h
      include/hw/vfio/vfio-container-base.h: rename file to vfio-container.h
      hw/vfio/container.c: rename file to container-legacy.c
      hw/vfio/container-base.c: rename file to container.c
      vfio/iommufd.c: use QOM casts where appropriate
      vfio/cpr-iommufd.c: use QOM casts where appropriate
      vfio/vfio-iommufd.h: rename VFIOContainer bcontainer field to parent_obj
      vfio/spapr.c: use QOM casts where appropriate
      vfio/spapr.c: rename VFIOContainer bcontainer field to parent_obj
      vfio/pci.c: rename vfio_instance_init() to vfio_pci_init()
      vfio/pci.c: rename vfio_instance_finalize() to vfio_pci_finalize()
      vfio/pci.c: rename vfio_pci_dev_class_init() to vfio_pci_class_init()
      vfio/pci.c: rename vfio_pci_dev_info to vfio_pci_info
      hw/vfio/types.h: rename TYPE_VFIO_PCI_BASE to TYPE_VFIO_PCI_DEVICE
      vfio/pci.c: rename vfio_pci_base_dev_class_init() to vfio_pci_device_class_init()
      vfio/pci.c: rename vfio_pci_base_dev_info to vfio_pci_device_info
      vfio/pci.c: rename vfio_pci_dev_properties[] to vfio_pci_properties[]
      vfio/pci.c: rename vfio_pci_dev_nohotplug_properties[] to vfio_pci_nohotplug_properties[]
      vfio/pci.c: rename vfio_pci_nohotplug_dev_class_init() to vfio_pci_nohotplug_class_init()
      vfio/pci.c: rename vfio_pci_nohotplug_dev_info to vfio_pci_nohotplug_info
      vfio-user/pci.c: rename vfio_user_pci_dev_class_init() to vfio_user_pci_class_init()
      vfio-user/pci.c: rename vfio_user_pci_dev_properties[] to vfio_user_pci_properties[]
      vfio-user/pci.c: rename vfio_user_instance_init() to vfio_user_pci_init()
      vfio-user/pci.c: rename vfio_user_instance_finalize() to vfio_user_pci_finalize()
      vfio-user/pci.c: rename vfio_user_pci_dev_info to vfio_user_pci_info
      include/hw/vfio/vfio-device.h: fix include header guard name

 MAINTAINERS                                      |    1 +
 hw/vfio-user/container.h                         |    4 +-
 hw/vfio/pci.h                                    |    2 +-
 hw/vfio/types.h                                  |    4 +-
 hw/vfio/vfio-iommufd.h                           |    9 +-
 hw/vfio/vfio-listener.h                          |    4 +-
 include/hw/vfio/vfio-container-base.h            |  279 -----
 include/hw/vfio/vfio-container-legacy.h          |   39 +
 include/hw/vfio/vfio-container.h                 |  286 ++++-
 include/hw/vfio/vfio-cpr.h                       |   15 +-
 include/hw/vfio/vfio-device.h                    |   12 +-
 hw/ppc/spapr_pci_vfio.c                          |   14 +-
 hw/s390x/s390-pci-vfio.c                         |   16 +-
 hw/vfio-user/container.c                         |   18 +-
 hw/vfio-user/pci.c                               |   35 +-
 hw/vfio/container-base.c                         |  347 ------
 hw/vfio/container-legacy.c                       | 1277 +++++++++++++++++++++
 hw/vfio/container.c                              | 1325 ++++------------------
 hw/vfio/cpr-iommufd.c                            |    4 +-
 hw/vfio/cpr-legacy.c                             |   43 +-
 hw/vfio/device.c                                 |    4 +-
 hw/vfio/iommufd.c                                |   48 +-
 hw/vfio/listener.c                               |   74 +-
 hw/vfio/pci.c                                    |   68 +-
 hw/vfio/spapr.c                                  |   52 +-
 hw/vfio/meson.build                              |    2 +-
 tests/functional/x86_64/meson.build              |    1 +
 tests/functional/x86_64/test_vfio_user_client.py |  201 ++++
 28 files changed, 2194 insertions(+), 1990 deletions(-)
 delete mode 100644 include/hw/vfio/vfio-container-base.h
 create mode 100644 include/hw/vfio/vfio-container-legacy.h
 delete mode 100644 hw/vfio/container-base.c
 create mode 100644 hw/vfio/container-legacy.c
 create mode 100755 tests/functional/x86_64/test_vfio_user_client.py
Re: [PULL 00/29] vfio queue
Posted by Richard Henderson 23 hours ago
On 9/25/25 22:33, Cédric Le Goater wrote:
> The following changes since commit 95b9e0d2ade5d633fd13ffba96a54e87c65baf39:
> 
>    Merge tag 'for-upstream' ofhttps://gitlab.com/bonzini/qemu into staging (2025-09-24 12:04:18 -0700)
> 
> are available in the Git repository at:
> 
>    https://github.com/legoater/qemu/ tags/pull-vfio-20250926
> 
> for you to fetch changes up to 7c773b4267ae10820ed5e3ec6b15219b39dbcebd:
> 
>    include/hw/vfio/vfio-device.h: fix include header guard name (2025-09-25 17:55:20 +0200)
> 
> ----------------------------------------------------------------
> vfio queue:
> 
> * New vfio-user functional test
> * Improved naming conventions

Applied, thanks.  Please update https://wiki.qemu.org/ChangeLog/10.2 as appropriate.

r~