diff options
author | Alexey Kardashevskiy | 2013-07-18 21:33:03 +0200 |
---|---|---|
committer | Anthony Liguori | 2013-07-29 17:37:09 +0200 |
commit | e68cb8b4fa7e20e666a3bfc571a0e075733d22bd (patch) | |
tree | 4c9044897a8ea511ef068291f93d003bd32aee5a /include/hw/ppc/spapr.h | |
parent | pseries: savevm support for PCI host bridge (diff) | |
download | qemu-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/ppc/spapr.h')
-rw-r--r-- | include/hw/ppc/spapr.h | 1 |
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 |