KVM: PPC: Add HPT preallocator
authorAlexander Graf <agraf@suse.de>
Mon, 16 Jan 2012 18:12:11 +0000 (19:12 +0100)
committerAvi Kivity <avi@redhat.com>
Mon, 5 Mar 2012 12:57:28 +0000 (14:57 +0200)
We're currently allocating 16MB of linear memory on demand when creating
a guest. That does work some times, but finding 16MB of linear memory
available in the system at runtime is definitely not a given.

So let's add another command line option similar to the RMA preallocator,
that we can use to keep a pool of page tables around. Now, when a guest
gets created it has a pretty low chance of receiving an OOM.

Signed-off-by: Alexander Graf <agraf@suse.de>
Signed-off-by: Avi Kivity <avi@redhat.com>

No differences found