[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 0/2] VT-d migration support
From: |
Peter Xu |
Subject: |
[Qemu-devel] [PATCH v2 0/2] VT-d migration support |
Date: |
Fri, 6 Jan 2017 11:08:00 +0800 |
This series enables VT-d IOMMU migration.
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.qcow2
Please 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 | 21 ++++++++++++++++++++-
include/migration/vmstate.h | 7 +++++++
migration/savevm.c | 34 ++++++++++++++++++++++++++++++----
3 files changed, 57 insertions(+), 5 deletions(-)
--
2.7.4
- [Qemu-devel] [PATCH v2 0/2] VT-d migration support,
Peter Xu <=