[libvirt] [PATCH] macvtap IFF_VNET_HDR configuration

Stefan Berger stefanb at us.ibm.com
Thu Feb 18 22:43:40 UTC 2010


This patch sets or unsets the IFF_VNET_HDR flag depending on what device
is used in the VM. The manipulation of the flag is done in the open
function and is only fatal if the IFF_VNET_HDR flag could not be cleared
although it has to be (or if an ioctl generally fails). In that case the
macvtap tap is closed again and the macvtap interface torn.

This patch also passes 'make syntax-check' :-).

Signed-off-by: Stefan Berger <stefanb at us.ibm.com>


-------------- next part --------------
A non-text attachment was scrubbed...
Name: macvtap_vnet_hdr_config.diff
Type: text/x-patch
Size: 6588 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100218/49fcc11d/attachment-0001.bin>


More information about the libvir-list mailing list