From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1L8KHq-0006EH-VC for qemu-devel@nongnu.org; Thu, 04 Dec 2008 14:54:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1L8KHl-0006Cj-Nw for qemu-devel@nongnu.org; Thu, 04 Dec 2008 14:54:57 -0500 Received: from [199.232.76.173] (port=52861 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L8KHl-0006Ca-JD for qemu-devel@nongnu.org; Thu, 04 Dec 2008 14:54:53 -0500 Received: from qw-out-1920.google.com ([74.125.92.149]:36408) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1L8KHl-0001Xw-5C for qemu-devel@nongnu.org; Thu, 04 Dec 2008 14:54:53 -0500 Received: by qw-out-1920.google.com with SMTP id 5so1309151qwc.4 for ; Thu, 04 Dec 2008 11:54:51 -0800 (PST) Message-ID: <49383587.80007@codemonkey.ws> Date: Thu, 04 Dec 2008 13:54:47 -0600 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [5869] Virtio core support References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Anthony Liguori wrote: > Revision: 5869 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5869 > Author: aliguori > Date: 2008-12-04 19:38:57 +0000 (Thu, 04 Dec 2008) > > > Added: trunk/hw/virtio.c > =================================================================== > --- trunk/hw/virtio.c (rev 0) > +++ trunk/hw/virtio.c 2008-12-04 19:38:57 UTC (rev 5869) > @@ -0,0 +1,847 @@ > +/* > + * Virtio Support > + * > + * Copyright IBM, Corp. 2007 > + * > + * Authors: > + * Anthony Liguori > + * > + * This work is licensed under the terms of the GNU GPL, version 2. See > + * the COPYING file in the top-level directory. > + * > + */ > + > +#include > +#include > + > +#include "virtio.h" > +#include "sysemu.h" > + > +//#define VIRTIO_ZERO_COPY > I left this here to simplify merging with kvm-userspace.git. I don't have any intention of enabling it though and it will disappear once we get the DMA API committed. I didn't want anyone to think there are any plans to enable it as it enables code that does bad things (touching guest physical memory directly). Regards, Anthony Liguori