Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Njx6K-0006XK-H2 for qemu-devel@nongnu.org; Tue, 23 Feb 2010 10:55:08 -0500 Received: from [199.232.76.173] (port=48221 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Njx6J-0006X0-QE for qemu-devel@nongnu.org; Tue, 23 Feb 2010 10:55:07 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Njx6I-0002mr-2W for qemu-devel@nongnu.org; Tue, 23 Feb 2010 10:55:07 -0500 Received: from cantor.suse.de ([195.135.220.2]:57653 helo=mx1.suse.de) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Njx6H-0002m8-OK for qemu-devel@nongnu.org; Tue, 23 Feb 2010 10:55:05 -0500 Subject: Re: [Qemu-devel] Address translation - virt->phys->ram Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: Alexander Graf In-Reply-To: <4B83F86B.7070901@collabora.co.uk> Date: Tue, 23 Feb 2010 16:54:59 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: References: <4B828DC2.3000609@collabora.co.uk> <4B829645.5020904@codemonkey.ws> <4B82B4E3.2040805@collabora.co.uk> <4B82B655.2000408@codemonkey.ws> <4B82C325.5020300@collabora.co.uk> <4B82D37B.2040906@suse.de> <4B83F86B.7070901@collabora.co.uk> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Ian Molton Cc: cam@cs.ualberta.ca, qemu-devel@nongnu.org On 23.02.2010, at 16:46, Ian Molton wrote: > Alexander Graf wrote: >=20 >> I guess what you really want is some shm region between host and = guess >> that you can use as ring buffer. Then you could run a timer on the = host >> side to flush it or have some sort of callback when you urgently need = to >> flush it manually. >>=20 >> The benefit here is that you can actually make use of multiple = threads. >> There's no need to intercept the guest at all just because it wants = to >> issue some GL operations. >=20 > Something like that should work. The problem right now is mostly the > 'some sort of callback'. Im not sure there exists any mechanism for = the > guests userspace to interrupt qemu directly when running under kvm... I'm not aware of any mechanism, but you could easily write a simple UIO = driver that takes over this exact task. Or you build on top of cam's shm patches and create a device node that = exposes a poke ioctl. Alex=