[PULL 00/17] vfio queue

Cédric Le Goater posted 17 patches 10 months, 3 weeks 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>, Alex Williamson <alex.williamson@redhat.com>, "Cédric Le Goater" <clg@redhat.com>, Nicholas Piggin <npiggin@gmail.com>, Daniel Henrique Barboza <danielhb413@gmail.com>, David Gibson <david@gibson.dropbear.id.au>, Harsh Prateek Bora <harshpb@linux.ibm.com>
There is a newer version of this series
include/hw/vfio/vfio-common.h         |   2 -
include/hw/vfio/vfio-container-base.h |  27 +++++-
include/sysemu/iommufd.h              |   2 -
backends/iommufd.c                    |  12 ---
hw/vfio/common.c                      |  19 +++--
hw/vfio/container-base.c              |  12 ++-
hw/vfio/container.c                   | 153 +++++++++++++++++++++-------------
hw/vfio/iommufd.c                     |  41 +++++----
hw/vfio/migration.c                   |  41 ++++-----
hw/vfio/pci.c                         |   2 +-
hw/vfio/spapr.c                       |  60 +++++++------
hw/vfio/meson.build                   |   2 +-
12 files changed, 222 insertions(+), 151 deletions(-)
[PULL 00/17] vfio queue
Posted by Cédric Le Goater 10 months, 3 weeks ago
The following changes since commit 0c1eccd368af8805ec0fb11e6cf25d0684d37328:

  Merge tag 'hw-cpus-20240105' of https://github.com/philmd/qemu into staging (2024-01-05 16:08:58 +0000)

are available in the Git repository at:

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

for you to fetch changes up to 19368b1905b4b917e915526fcbd5bfa3f7439451:

  backends/iommufd: Remove mutex (2024-01-05 21:25:20 +0100)

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

* Minor cleanups
* Fix for a regression in device reset introduced in 8.2
* Coverity fixes, including the removal of the iommufd backend mutex
* Introduced VFIOIOMMUClass, to avoid compiling spapr when !CONFIG_PSERIES

----------------------------------------------------------------
Avihai Horon (1):
      vfio/migration: Add helper function to set state or reset device

Cédric Le Goater (14):
      vfio/spapr: Extend VFIOIOMMUOps with a release handler
      vfio/container: Introduce vfio_legacy_setup() for further cleanups
      vfio/container: Initialize VFIOIOMMUOps under vfio_init_container()
      vfio/container: Introduce a VFIOIOMMU QOM interface
      vfio/container: Introduce a VFIOIOMMU legacy QOM interface
      vfio/container: Intoduce a new VFIOIOMMUClass::setup handler
      vfio/spapr: Introduce a sPAPR VFIOIOMMU QOM interface
      vfio/iommufd: Introduce a VFIOIOMMU iommufd QOM interface
      vfio/spapr: Only compile sPAPR IOMMU support when needed
      vfio/iommufd: Remove CONFIG_IOMMUFD usage
      vfio/container: Replace basename with g_path_get_basename
      vfio/iommufd: Remove the use of stat() to check file existence
      backends/iommufd: Remove check on number of backend users
      backends/iommufd: Remove mutex

Volker Rümelin (1):
      hw/vfio: fix iteration over global VFIODevice list

Zhenzhong Duan (1):
      vfio/container: Rename vfio_init_container to vfio_set_iommu

 include/hw/vfio/vfio-common.h         |   2 -
 include/hw/vfio/vfio-container-base.h |  27 +++++-
 include/sysemu/iommufd.h              |   2 -
 backends/iommufd.c                    |  12 ---
 hw/vfio/common.c                      |  19 +++--
 hw/vfio/container-base.c              |  12 ++-
 hw/vfio/container.c                   | 153 +++++++++++++++++++++-------------
 hw/vfio/iommufd.c                     |  41 +++++----
 hw/vfio/migration.c                   |  41 ++++-----
 hw/vfio/pci.c                         |   2 +-
 hw/vfio/spapr.c                       |  60 +++++++------
 hw/vfio/meson.build                   |   2 +-
 12 files changed, 222 insertions(+), 151 deletions(-)

Re: [PULL 00/17] vfio queue
Posted by Peter Maydell 10 months, 3 weeks ago
On Mon, 8 Jan 2024 at 07:34, Cédric Le Goater <clg@redhat.com> wrote:
>
> The following changes since commit 0c1eccd368af8805ec0fb11e6cf25d0684d37328:
>
>   Merge tag 'hw-cpus-20240105' of https://github.com/philmd/qemu into staging (2024-01-05 16:08:58 +0000)
>
> are available in the Git repository at:
>
>   https://github.com/legoater/qemu/ tags/pull-vfio-20240107
>
> for you to fetch changes up to 19368b1905b4b917e915526fcbd5bfa3f7439451:
>
>   backends/iommufd: Remove mutex (2024-01-05 21:25:20 +0100)
>
> ----------------------------------------------------------------
> vfio queue:
>
> * Minor cleanups
> * Fix for a regression in device reset introduced in 8.2
> * Coverity fixes, including the removal of the iommufd backend mutex
> * Introduced VFIOIOMMUClass, to avoid compiling spapr when !CONFIG_PSERIES
>


Applied, thanks.

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

-- PMM