[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1173926306.4611.6.camel@diesel>
Date: Wed, 14 Mar 2007 21:38:26 -0500
From: Hollis Blanchard <hollis@...guinppc.org>
To: Avi Kivity <avi@...ranet.com>
Cc: kvm-devel@...ts.sourceforge.net, Andrew Morton <akpm@...l.org>,
linux-kernel@...r.kernel.org
Subject: Re: [kvm-devel] [PATCH 01/15] KVM: Use a shared page for
kernel/user communication when runing a vcpu
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 provide for another means of accessing guest memory from host
userspace? For example, how do you attach a host debugger to the guest?
Xen uses an ioctl followed by mmap for this purpose, which is why I
wonder about using mmap(/dev/kvm) for another purpose.
-Hollis
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists