Re: [Qemu-devel] [PATCHv2] tap: reset vnet header size on open

2012-11-19 Thread Alexander Graf
On 13.11.2012, at 11:23, 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:

Re: [Qemu-devel] [PATCHv2] tap: reset vnet header size on open

2012-11-13 Thread Stefan Hajnoczi
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. > >

[Qemu-devel] [PATCHv2] tap: reset vnet header size on open

2012-11-13 Thread Michael S. Tsirkin
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 Alexand