pseries: savevm support with KVM

Enterprise / Virtualization / QEMU - Alexey Kardashevskiy [ozlabs.ru] - 29 July 2013 10:37 UTC

At present, the savevm / migration support for the pseries machine will not work when KVM is enabled. That's because KVM manages the guest's hash page table in the host kernel, so qemu has no visibility of it. This patch fixes this by using new kernel interfaces to extract and reinsert the guest's hash table during the migration process.

e68cb8b pseries: savevm support with KVM
hw/ppc/spapr.c | 106 ++++++++++++++++++++++++++++++++++++++----------
include/hw/ppc/spapr.h | 1 +
target-ppc/kvm.c | 69 +++++++++++++++++++++++++++++++
target-ppc/kvm_ppc.h | 22 ++++++++++
4 files changed, 176 insertions(+), 22 deletions(-)

Upstream: git.qemu.org


  • Share