Skip to content

VFIO multifd device state transfer patches for QEMU 10.1

Maciej S. Szmigiero qemu-arm qemu-devel 2 versions – Applied

Status from this message: Applied to vfio-next.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 1 replyApplied
  2. v13 patches 16 repliesSuperseded

Changes in v2 from the cover letter

* 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.

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/2vfio/migration: Add x-migration-load-config-after-iter VFIO propertydocs/devel/migration/vfio.rst hw/core/machine.c hw/vfio/helpers.c +7 more+129 -10 replies
2/2vfio/migration: Max in-flight VFIO device state buffers size limitdocs/devel/migration/vfio.rst hw/vfio/migration-multifd.c hw/vfio/pci.c +1 more+42 -20 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchFabiano RosasAvihai Horon
1/2R-b R-b
2/2R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

From: "Maciej S. Szmigiero" <[email protected]>

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/[email protected]/

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(-)