]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
KVM: Allocate userspace memory for older userspace
authorAnthony Liguori <aliguori@us.ibm.com>
Thu, 18 Oct 2007 14:59:34 +0000 (09:59 -0500)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:54 +0000 (17:52 +0200)
commit8d4e1288ebb753d3140d81cb349f22b0a6829a4a
tree3fb754321abd1da8fa107f500dedd4a56f94ac0a
parente56a7a28e21aa2d1af659d8f38952411ce9ae40e
KVM: Allocate userspace memory for older userspace

Allocate a userspace buffer for older userspaces.  Also eliminate phys_mem
buffer.  The memset() in kvmctl really kills initial memory usage but swapping
works even with old userspaces.

A side effect is that maximum guest side is reduced for older userspace on
i386.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c