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

Maciej S. Szmigiero posted 2 patches 4 months ago
Failed in applying to current master (apply log)
docs/devel/migration/vfio.rst     |  19 ++++++
hw/core/machine.c                 |   1 +
hw/vfio/helpers.c                 |  17 +++++
hw/vfio/migration-multifd.c       | 100 +++++++++++++++++++++++++++++-
hw/vfio/migration-multifd.h       |   3 +
hw/vfio/migration.c               |  10 ++-
hw/vfio/pci.c                     |  19 ++++++
hw/vfio/vfio-helpers.h            |   2 +
hw/vfio/vfio-migration-internal.h |   1 +
include/hw/vfio/vfio-device.h     |   2 +
10 files changed, 171 insertions(+), 3 deletions(-)
[PATCH v2 0/2] VFIO multifd device state transfer patches for QEMU 10.1
Posted by Maciej S. Szmigiero 4 months ago
From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>

This is an updated v2 patch series of the v1 series located at [1] of the
leftover patches of VFIO multifd migration patch set that was merged in
QEMU 10.0.

Changes from v1:
* Drop the in-flight VFIO device state buffer *count* limit, leave
  the *size* limit only.

* Add a small target-dependent helper to hw/vfio/helpers.c to avoid doing
  strcmp(target_name(), "aarch64") in hw/vfio/migration-multifd.c.

* Mention that VFIO device config with ARM interlocking enabled is
  loaded as part of the non-iterables as suggested by Avihai.

* Collect Fabiano and Avihai Reviewed-by tags.

[1]: https://lore.kernel.org/qemu-devel/cover.1750787338.git.maciej.szmigiero@oracle.com/

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

 docs/devel/migration/vfio.rst     |  19 ++++++
 hw/core/machine.c                 |   1 +
 hw/vfio/helpers.c                 |  17 +++++
 hw/vfio/migration-multifd.c       | 100 +++++++++++++++++++++++++++++-
 hw/vfio/migration-multifd.h       |   3 +
 hw/vfio/migration.c               |  10 ++-
 hw/vfio/pci.c                     |  19 ++++++
 hw/vfio/vfio-helpers.h            |   2 +
 hw/vfio/vfio-migration-internal.h |   1 +
 include/hw/vfio/vfio-device.h     |   2 +
 10 files changed, 171 insertions(+), 3 deletions(-)
Re: [PATCH v2 0/2] VFIO multifd device state transfer patches for QEMU 10.1
Posted by Cédric Le Goater 4 months ago
On 7/15/25 16:37, Maciej S. Szmigiero wrote:
> From: "Maciej S. Szmigiero" <maciej.szmigiero@oracle.com>
> 
> This is an updated v2 patch series of the v1 series located at [1] of the
> leftover patches of VFIO multifd migration patch set that was merged in
> QEMU 10.0.
> 
> Changes from v1:
> * Drop the in-flight VFIO device state buffer *count* limit, leave
>    the *size* limit only.
> 
> * Add a small target-dependent helper to hw/vfio/helpers.c to avoid doing
>    strcmp(target_name(), "aarch64") in hw/vfio/migration-multifd.c.
> 
> * Mention that VFIO device config with ARM interlocking enabled is
>    loaded as part of the non-iterables as suggested by Avihai.
> 
> * Collect Fabiano and Avihai Reviewed-by tags.
> 
> [1]: https://lore.kernel.org/qemu-devel/cover.1750787338.git.maciej.szmigiero@oracle.com/
> 
> Maciej S. Szmigiero (2):
>    vfio/migration: Add x-migration-load-config-after-iter VFIO property
>    vfio/migration: Max in-flight VFIO device state buffers size limit
> 
>   docs/devel/migration/vfio.rst     |  19 ++++++
>   hw/core/machine.c                 |   1 +
>   hw/vfio/helpers.c                 |  17 +++++
>   hw/vfio/migration-multifd.c       | 100 +++++++++++++++++++++++++++++-
>   hw/vfio/migration-multifd.h       |   3 +
>   hw/vfio/migration.c               |  10 ++-
>   hw/vfio/pci.c                     |  19 ++++++
>   hw/vfio/vfio-helpers.h            |   2 +
>   hw/vfio/vfio-migration-internal.h |   1 +
>   include/hw/vfio/vfio-device.h     |   2 +
>   10 files changed, 171 insertions(+), 3 deletions(-)
> 


Applied to vfio-next.

Thanks,

C.