KVM: Allow kernel to select size of mmap() buffer
authorAvi Kivity <avi@qumranet.com>
Wed, 7 Mar 2007 11:05:38 +0000 (13:05 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:24 +0000 (10:52 +0300)
This allows us to store offsets in the kernel/user kvm_run area, and be
sure that userspace has them mapped.  As offsets can be outside the
kvm_run struct, userspace has no way of knowing how much to mmap.

Signed-off-by: Avi Kivity <avi@qumranet.com>

No differences found