VT-d migration support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest2 patches 6 repliesIn review
- v22 patches 2 repliesSuperseded
- v12 patches 2 repliesSuperseded
Changes in v3 from the cover letter
- save/load for csr [Jason]
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | migration: allow to prioritize save state entriesinclude/ migration/ | +36 | 1 reply | |
| 2/2 | intel_iommu: allow migrationhw/ include/ | +22 | 2 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | Dr. David Alan Gilbert |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH v3 0/2] VT-d migration support
This series enables VT-d IOMMU migration.
v3:
- save/load for csr [Jason]
v2:
- remove SaveStateEntry.priority, let priority store only in one place, which is VMStateDescription. Meanwhile, provide another helper to fetch the priority.
- add enum MigrationPriority to unify the ordering, rather than use magic numbers like 100 everywhere [Dave]
- fix commit log where proper
First patch is an enhancement to current migration framework to allow prioritized save state entry. This is required to let VT-d migrate properly.
The second patch enables the migration for the vIOMMU.
Please check commit message for more information.
Test done:
Smoke test is done with parameter:
$qemu -M q35,kernel-irqchip=off -enable-kvm \
-device intel-iommu,intremap=on \
-netdev user,id=net0 \
-device e1000,netdev=net0 \
-m 512M -monitor stdio \
$param /var/lib/libvirt/images/vm1.qcow2Please review, thanks.
(P.S. I found that split irqchip cannot work well with migration. Is
this an known issue?)
Peter Xu (2):
migration: allow to prioritize save state entries
intel_iommu: allow migration
hw/i386/intel_iommu.c | 22 +++++++++++++++++++++- include/migration/vmstate.h | 7 +++++++ migration/savevm.c | 34 ++++++++++++++++++++++++++++++---- 3 files changed, 58 insertions(+), 5 deletions(-)
Signature · 1 line
2.7.4