Received: from [140.186.70.92] (port=50909 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZhAE-000443-6V for qemu-devel@nongnu.org; Fri, 16 Jul 2010 05:25:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZhAC-0000TV-Jv for qemu-devel@nongnu.org; Fri, 16 Jul 2010 05:25:02 -0400 Received: from mx1.redhat.com ([209.132.183.28]:11148) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZhAC-0000TE-DO for qemu-devel@nongnu.org; Fri, 16 Jul 2010 05:25:00 -0400 Date: Fri, 16 Jul 2010 12:19:42 +0300 From: "Michael S. Tsirkin" Message-ID: <20100716091942.GA26794@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Subject: [Qemu-devel] Re: [PATCH RFC 0/3] qemu/vhost-net: mergeable buffers support List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: kvm@vger.kernel.org, qemu-devel@nongnu.org, dlstevens@us.ibm.com On Fri, Jul 16, 2010 at 12:04:34PM +0300, Michael S. Tsirkin wrote: > This adds mergeable buffers support in vhost-net in qemu. > With this patch, sending raw packets while vhost-net is active should > work as well: important for migration. Compile-tested only for now. > David, could you please review and maybe try this out? > The kernel side is in vhost-net-next. I intend for it to got into > net-next and then into 2.6.36. > > TODO: basic test. migration test, send pull request. This is on top of 46c85dab1c2ffa1363c07bf7c161921ff613c0b6 in qemu-kvm. > Michael S. Tsirkin (3): > tap: generalize code for different vnet header len > tap: add APIs for vnet header length > vhost_net: mergeable buffers support > > hw/vhost_net.c | 23 ++++++++++++++++++++++- > net/tap-aix.c | 9 +++++++++ > net/tap-bsd.c | 9 +++++++++ > net/tap-linux.c | 29 +++++++++++++++++++++++++++++ > net/tap-linux.h | 8 ++++++++ > net/tap-solaris.c | 9 +++++++++ > net/tap-win32.c | 9 +++++++++ > net/tap.c | 49 +++++++++++++++++++++++++++++++++++-------------- > net/tap.h | 4 ++++ > 9 files changed, 134 insertions(+), 15 deletions(-) > > -- > MST > >