From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nk7hu-0003dH-AL for qemu-devel@nongnu.org; Tue, 23 Feb 2010 22:14:38 -0500 Received: from [199.232.76.173] (port=35274 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nk7hs-0003d9-U6 for qemu-devel@nongnu.org; Tue, 23 Feb 2010 22:14:36 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nk7hr-0006mR-Ix for qemu-devel@nongnu.org; Tue, 23 Feb 2010 22:14:36 -0500 Received: from mx20.gnu.org ([199.232.41.8]:57074) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Nk7hr-0006mN-Ct for qemu-devel@nongnu.org; Tue, 23 Feb 2010 22:14:35 -0500 Received: from mail.codesourcery.com ([38.113.113.100]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nk7hq-0000hm-JB for qemu-devel@nongnu.org; Tue, 23 Feb 2010 22:14:34 -0500 From: Paul Brook Subject: Re: [Qemu-devel] Re: [PATCH-RFC 13/13] virtio-net: connect to vhost net backend Date: Wed, 24 Feb 2010 03:14:25 +0000 References: <20100125202711.GA16928@redhat.com> <4B5E0660.6010400@codemonkey.ws> In-Reply-To: <4B5E0660.6010400@codemonkey.ws> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201002240314.25631.paul@codesourcery.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: "Michael S. Tsirkin" > 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. If you implement software GSO, then devices can assume it's always present and don't need to probe. Paul