summaryrefslogtreecommitdiffstats
path: root/include/hw
diff options
context:
space:
mode:
authorAlexey Kardashevskiy2013-07-18 21:33:03 +0200
committerAnthony Liguori2013-07-29 17:37:09 +0200
commite68cb8b4fa7e20e666a3bfc571a0e075733d22bd (patch)
tree4c9044897a8ea511ef068291f93d003bd32aee5a /include/hw
parentpseries: savevm support for PCI host bridge (diff)
downloadqemu-e68cb8b4fa7e20e666a3bfc571a0e075733d22bd.tar.gz
qemu-e68cb8b4fa7e20e666a3bfc571a0e075733d22bd.tar.xz
qemu-e68cb8b4fa7e20e666a3bfc571a0e075733d22bd.zip
pseries: savevm support with KVM
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. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Message-id: 1374175984-8930-11-git-send-email-aliguori@us.ibm.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/hw')
-rw-r--r--include/hw/ppc/spapr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/ppc/spapr.h b/include/hw/ppc/spapr.h
index 00a6f58729..b06ce79b26 100644
--- a/include/hw/ppc/spapr.h
+++ b/include/hw/ppc/spapr.h
@@ -37,6 +37,7 @@ typedef struct sPAPREnvironment {
/* Migration state */
int htab_save_index;
bool htab_first_pass;
+ int htab_fd;
} sPAPREnvironment;
#define H_SUCCESS 0