[PATCH 0/3] VFIO multifd device state transfer patches for QEMU 10.1

Maciej S. Szmigiero posted 3 patches 4 months, 3 weeks ago
Failed in applying to current master (apply log)
There is a newer version of this series
docs/devel/migration/vfio.rst     |  21 +++++
hw/core/machine.c                 |   1 +
hw/vfio/migration-multifd.c       | 125 +++++++++++++++++++++++++++++-
hw/vfio/migration-multifd.h       |   3 +
hw/vfio/migration.c               |  10 ++-
hw/vfio/pci.c                     |  27 +++++++
hw/vfio/vfio-migration-internal.h |   1 +
include/hw/vfio/vfio-device.h     |   3 +
8 files changed, 188 insertions(+), 3 deletions(-)
[PATCH 0/3] VFIO multifd device state transfer patches for QEMU 10.1
Posted by Maciej S. Szmigiero 4 months, 3 weeks ago
From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>

When VFIO multifd device state transfer support was merged in QEMU 10.0
some of patches were separated for the future QEMU release after the
spring cleanup.

Since QEMU 10.1 code freeze is getting closer let's have them reviewed
now.

The most important patch from this patch set is the one adding
"x-migration-load-config-after-iter" VFIO property since it is a
correctness fix for an ARM64 platform idiosyncrasy with respect
to VFIO load dependency on interrupt controller being loaded first.

I've also CCed the ARM maintainer and qemu-arm as suggested previously
by Cédric.

Maciej S. Szmigiero (3):
  vfio/migration: Max in-flight VFIO device state buffer count limit
  vfio/migration: Add x-migration-load-config-after-iter VFIO property
  vfio/migration: Add also max in-flight VFIO device state buffers size
    limit

 docs/devel/migration/vfio.rst     |  21 +++++
 hw/core/machine.c                 |   1 +
 hw/vfio/migration-multifd.c       | 125 +++++++++++++++++++++++++++++-
 hw/vfio/migration-multifd.h       |   3 +
 hw/vfio/migration.c               |  10 ++-
 hw/vfio/pci.c                     |  27 +++++++
 hw/vfio/vfio-migration-internal.h |   1 +
 include/hw/vfio/vfio-device.h     |   3 +
 8 files changed, 188 insertions(+), 3 deletions(-)


Re: [PATCH 0/3] VFIO multifd device state transfer patches for QEMU 10.1
Posted by Maciej S. Szmigiero 4 months ago
On 24.06.2025 19:51, Maciej S. Szmigiero wrote:
> From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
> 
> When VFIO multifd device state transfer support was merged in QEMU 10.0
> some of patches were separated for the future QEMU release after the
> spring cleanup.
> 
> Since QEMU 10.1 code freeze is getting closer let's have them reviewed
> now.
> 

Hey Cédric,

I see these patches in your "vfio-10.1" GitHub tree but I don't see them
as a pull request on the qemu-devel mailing list.

Are you going to post them? - the soft code freeze is tomorrow.

Thanks,
Maciej

Re: [PATCH 0/3] VFIO multifd device state transfer patches for QEMU 10.1
Posted by Cédric Le Goater 4 months ago
On 7/14/25 11:46, Maciej S. Szmigiero wrote:
> On 24.06.2025 19:51, Maciej S. Szmigiero wrote:
>> From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
>>
>> When VFIO multifd device state transfer support was merged in QEMU 10.0
>> some of patches were separated for the future QEMU release after the
>> spring cleanup.
>>
>> Since QEMU 10.1 code freeze is getting closer let's have them reviewed
>> now.
>>
> 
> Hey Cédric,
> 
> I see these patches in your "vfio-10.1" GitHub tree

vfio-x.y is the branch I use for vfio-next candidates.


> but I don't see them
> as a pull request on the qemu-devel mailing list.
> > Are you going to post them? - the soft code freeze is tomorrow.

We still have some time. Let's see how v2 looks like.

I would prefer to have some feedback from the virt-arm team or
a Tested-by at least.

Thanks,

C.