From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41750) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViRpS-00018Z-7S for qemu-devel@nongnu.org; Mon, 18 Nov 2013 11:37:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ViRpF-0008O1-W3 for qemu-devel@nongnu.org; Mon, 18 Nov 2013 11:37:38 -0500 Received: from mail-qa0-x22b.google.com ([2607:f8b0:400d:c00::22b]:39284) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ViRpF-0008Ns-Ro for qemu-devel@nongnu.org; Mon, 18 Nov 2013 11:37:25 -0500 Received: by mail-qa0-f43.google.com with SMTP id ii20so48844qab.9 for ; Mon, 18 Nov 2013 08:37:25 -0800 (PST) Sender: Paolo Bonzini Message-ID: <528A4240.7040409@redhat.com> Date: Mon, 18 Nov 2013 17:37:20 +0100 From: Paolo Bonzini MIME-Version: 1.0 References: <20131118150340.GA4083@stefanha-thinkpad.redhat.com> In-Reply-To: <20131118150340.GA4083@stefanha-thinkpad.redhat.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] dataplane, thread and gpu stuff List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Stefan Hajnoczi Cc: Dave Airlie , "qemu-devel@nongnu.org" Il 18/11/2013 16:03, Stefan Hajnoczi ha scritto: > As of today, there are still two vring implementations in > hw/virtio/virtio.c and hw/virtio/dataplane/vring.c. This means it isn't > clean and easy to integrate into a new device yet. Existing dataplane > devices basically take advantage of the fact that the non-dataplane > version sets up the device before I/O. > > Paolo can give you details on the latest thread-safe memory API stuff > and whether it's already usable for virtio. vring and virtio are still separate even in my latest patches. I have patches to convert vring to use memory_region_find instead of hostmem. > Regarding irqfd, we could emulate it in TCG using an EventNotifier > (eventfd). At that point I think it's no longer kvm-specific. I think he's talking about ioeventfd though. Paolo