diff options
author | David Gibson | 2012-09-12 18:57:12 +0200 |
---|---|---|
committer | Alexander Graf | 2012-10-04 15:54:17 +0200 |
commit | 7f763a5d994bbddb50705d2e50decdf52937521f (patch) | |
tree | 1aea1280ecbf1bc675baa05ab7a449a3797965ad /hw/spapr.h | |
parent | pseries: Use new method to correct reset sequence (diff) | |
download | qemu-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.h | 4 |
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; |