commit | 9a2bb7f486dc639a1cf2ad803bf2227f0dc0809d | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@qumranet.com> | Thu Feb 22 12:58:31 2007 +0200 |
committer | Avi Kivity <avi@qumranet.com> | Thu May 03 10:52:23 2007 +0300 |
tree | db323e11ae5a5286a1e344b444162be53bc4d9fc | |
parent | 1ea252afcd4b264b71d9c3f55358ff5ba4c04f1b [diff] |
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: Avi Kivity <avi@qumranet.com>