KVM: Support assigning userspace memory to the guest
authorIzik Eidus <izike@qumranet.com>
Tue, 9 Oct 2007 17:20:39 +0000 (19:20 +0200)
committerAvi Kivity <avi@qumranet.com>
Wed, 30 Jan 2008 15:52:51 +0000 (17:52 +0200)
commit6fc138d2278078990f597cb1f62fde9e5b458f96
tree176026316843a4e47b8271f0e84a03f8807ecb64
parentd77c26fce93d07802db97498959587eb9347b31d
KVM: Support assigning userspace memory to the guest

Instead of having the kernel allocate memory to the guest, let userspace
allocate it and pass the address to the kernel.

This is required for s390 support, but also enables features like memory
sharing and using hugetlbfs backed memory.

Signed-off-by: Izik Eidus <izike@qumranet.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
drivers/kvm/kvm.h
drivers/kvm/kvm_main.c
include/linux/kvm.h