From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33718) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYFTD-0008Le-0i for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:20:02 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TYFT9-0008Dp-VD for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:19:58 -0500 Received: from mx1.redhat.com ([209.132.183.28]:13005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TYFT9-0008DR-NB for qemu-devel@nongnu.org; Tue, 13 Nov 2012 07:19:55 -0500 Date: Tue, 13 Nov 2012 13:19:54 +0100 From: Stefan Hajnoczi Message-ID: <20121113121954.GA12894@stefanha-thinkpad.muc.redhat.com> References: <20121113102323.GA29422@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121113102323.GA29422@redhat.com> Subject: Re: [Qemu-devel] [PATCHv2] tap: reset vnet header size on open List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Michael S. Tsirkin" Cc: Anthony Liguori , qemu-devel@nongnu.org, agraf@suse.de On Tue, Nov 13, 2012 at 12:23:23PM +0200, Michael S. Tsirkin wrote: > For tap, we currently assume the vnet header size is 10 > (the default value) but that might not be the case > if tap is persistent and has been used by qemu previously. > To fix, set host header size in tap device on open. > > Signed-off-by: Michael S. Tsirkin > --- > > This fixes the issue reported by Alexander Graf on the kvm forum. > Alexander, could you confirm please? > Thanks, > > net/tap.c | 7 +++++++ > 1 file changed, 7 insertions(+) Thanks, applied to the net tree: https://github.com/stefanha/qemu/commits/net Stefan