From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nk9rh-0003Ac-Kz for qemu-devel@nongnu.org; Wed, 24 Feb 2010 00:32:53 -0500 Received: from [199.232.76.173] (port=58319 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nk9rg-0003AT-NI for qemu-devel@nongnu.org; Wed, 24 Feb 2010 00:32:52 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nk9rf-0001KG-Jy for qemu-devel@nongnu.org; Wed, 24 Feb 2010 00:32:52 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15408) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nk9rf-0001K6-6m for qemu-devel@nongnu.org; Wed, 24 Feb 2010 00:32:51 -0500 Date: Wed, 24 Feb 2010 07:29:25 +0200 From: "Michael S. Tsirkin" Subject: Re: [Qemu-devel] Re: [PATCH-RFC 13/13] virtio-net: connect to vhost net backend Message-ID: <20100224052925.GA27806@redhat.com> References: <20100125202711.GA16928@redhat.com> <4B5E0660.6010400@codemonkey.ws> <201002240314.25631.paul@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201002240314.25631.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paul Brook Cc: qemu-devel@nongnu.org On Wed, Feb 24, 2010 at 03:14:25AM +0000, Paul Brook wrote: > > vnet_hdr is IMHO a really bad example to copy from. > > > > vnet_hdr leaks into the migration state via n->has_vnet_hdr. What this > > means is that if you want to migrate from -net tap -net nic,model=virtio > > to -net user -net nic,model=virtio, it will fail. > > > > This is a hard problem to solve in qemu though because it would require > > that we implement software GSO which so far, no one has stepped up to do. > > Or make virtio-net pass this on to the guest, and have that deal with the > problem. This is exacly what we do, via feature bits. > If you implement software GSO, then devices can assume it's always > present and don't need to probe. > > Paul