Re: [kvm-devel] [PATCH 01/15] KVM: Use a shared page for kernel/user communication when runing a vcpu

2007-03-14 Thread Hollis Blanchard
On Sun, 2007-03-11 at 15:53 +0200, Avi Kivity wrote: 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. Do you

Re: [kvm-devel] [PATCH 01/15] KVM: Use a shared page for kernel/user communication when runing a vcpu

2007-03-14 Thread Hollis Blanchard
On Wed, 2007-03-14 at 21:38 -0500, Hollis Blanchard wrote: On Sun, 2007-03-11 at 15:53 +0200, Avi Kivity wrote: 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

[kvm-devel] [PATCH 01/15] KVM: Use a shared page for kernel/user communication when runing a vcpu

2007-03-11 Thread Avi Kivity
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 [EMAIL PROTECTED] ---