summaryrefslogtreecommitdiffstats
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson2012-09-12 18:57:12 +0200
committerAlexander Graf2012-10-04 15:54:17 +0200
commit7f763a5d994bbddb50705d2e50decdf52937521f (patch)
tree1aea1280ecbf1bc675baa05ab7a449a3797965ad /hw/spapr.h
parentpseries: Use new method to correct reset sequence (diff)
downloadqemu-7f763a5d994bbddb50705d2e50decdf52937521f.tar.gz
qemu-7f763a5d994bbddb50705d2e50decdf52937521f.tar.xz
qemu-7f763a5d994bbddb50705d2e50decdf52937521f.zip
pseries: Add support for new KVM hash table control call
This adds support for then new "reset htab" ioctl which allows qemu to properly cleanup the MMU hash table when the guest is reset. With the corresponding kernel support, reset of a guest now works properly. This also paves the way for indicating a different size hash table to the kernel and for the kernel to be able to impose limits on the requested size. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'hw/spapr.h')
-rw-r--r--hw/spapr.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/spapr.h b/hw/spapr.h
index ac34a171e3..f1fb646a56 100644
--- a/hw/spapr.h
+++ b/hw/spapr.h
@@ -15,7 +15,9 @@ typedef struct sPAPREnvironment {
target_phys_addr_t ram_limit;
void *htab;
- long htab_size;
+ long htab_shift;
+ target_phys_addr_t rma_size;
+ int vrma_adjust;
target_phys_addr_t fdt_addr, rtas_addr;
long rtas_size;
void *fdt_skel;