pseries: Add support for new KVM hash table control call
commit7f763a5d994bbddb50705d2e50decdf52937521f
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 12 Sep 2012 16:57:12 +0000 (12 16:57 +0000)
committerAlexander Graf <agraf@suse.de>
Thu, 4 Oct 2012 13:54:17 +0000 (4 15:54 +0200)
tree1aea1280ecbf1bc675baa05ab7a449a3797965ad
parentc8787ad477f3be5a971b877dcb1bae5752c5796a
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>
hw/spapr.c
hw/spapr.h
target-ppc/kvm.c
target-ppc/kvm_ppc.h