KVM: Use a shared page for kernel/user communication when runing a vcpu
authorAvi Kivity <avi@qumranet.com>
Thu, 22 Feb 2007 10:58:31 +0000 (12:58 +0200)
committerAvi Kivity <avi@qumranet.com>
Thu, 3 May 2007 07:52:23 +0000 (10:52 +0300)
Instead of passing a 'struct kvm_run' back and forth between the kernel and
userspace, allocate a page and allow the user to mmap() it.  This reduces
needless copying and makes the interface expandable by providing lots of
free space.

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

No differences found