aboutsummaryrefslogtreecommitdiff
path: root/hw/spapr.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2012-09-12 16:57:12 +0000
committerAlexander Graf <agraf@suse.de>2012-10-04 15:54:17 +0200
commit7f763a5d994bbddb50705d2e50decdf52937521f (patch)
tree1aea1280ecbf1bc675baa05ab7a449a3797965ad /hw/spapr.h
parentc8787ad477f3be5a971b877dcb1bae5752c5796a (diff)
downloadqemu-7f763a5d994bbddb50705d2e50decdf52937521f.zip
qemu-7f763a5d994bbddb50705d2e50decdf52937521f.tar.gz
qemu-7f763a5d994bbddb50705d2e50decdf52937521f.tar.bz2
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 ac34a17..f1fb646 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;