Skip to content
Commit 9a2bb7f4 authored by Avi Kivity's avatar Avi Kivity
Browse files

KVM: Use a shared page for kernel/user communication when runing a vcpu



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: default avatarAvi Kivity <avi@qumranet.com>
parent 1ea252af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment