« Previous | Next » 

Revision 58ddcd50

ID58ddcd50f30cb5c020bd4f9f36b01ee160a27cac

Added by Michael S. Tsirkin over 11 years ago

tap: reset vnet header size on open

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 <>
Tested-by: Alexander Graf <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences