Skip to content

vfio: Some fixes and optimizations for VFIO migration

Shenming Lu qemu-arm qemu-devel 4 versions – New

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest3 patches 0 repliesNew
  2. v33 patches 5 repliesSuperseded
  3. v2 RFC3 patches 20 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC1 patch17 repliesSuperseded

Changes in v4 from the cover letter

- Use msix_function_masked instead of msix_masked() in Patch 3.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3vfio: Move the saving of the config space to the right place in VFIO migrationhw/vfio/migration.c+15 -100 replies
2/3vfio: Set the priority of the VFIO VM state change handler explicitlyhw/vfio/migration.c+2 -10 replies
3/3vfio: Avoid disabling and enabling vectors repeatedly in VFIO migrationhw/vfio/pci.c+17 -30 replies

Reviews trailers per patch

2 of 3 patches have a Reviewed-by or Acked-by.

PatchKirti WankhedeCornelia Huck
1/3R-b
2/3R-b R-b
3/3

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

Read the v4 thread

Cover letter [PATCH v4 0/3] vfio: Some fixes and optimizations for VFIO migration

This patch set includes two fixes and one optimization for VFIO migration as blew:

Patch 1-2:
- Fix two ordering problems in migration.

Patch 3:
- Optimize the enabling process of the MSI-X vectors in migration.

History:

v3 -> v4
- Use msix_function_masked instead of msix_masked() in Patch 3.

v2 -> v3:
- Nit fixes.
- Set error in migration stream for migration to fail in Patch 1.
- Tested Patch 3 with a Windows guest.

Thanks,
Shenming

Shenming Lu (3):
vfio: Move the saving of the config space to the right place in VFIO
migration
vfio: Set the priority of the VFIO VM state change handler explicitly
vfio: Avoid disabling and enabling vectors repeatedly in VFIO
migration

 hw/vfio/migration.c | 28 +++++++++++++++++-----------
 hw/vfio/pci.c       | 20 +++++++++++++++++---
 2 files changed, 34 insertions(+), 14 deletions(-)
Signature · 1 line
2.19.1