[libvirt] Fix -Werror build error regarding to '#ifdef IFF_VNET_HDR'
Daniel Veillard
veillard at redhat.com
Thu Jul 30 14:27:23 UTC 2009
On Thu, Jul 30, 2009 at 04:15:01PM +0200, Maximilian Wilhelm wrote:
> Hi!
>
> Our build bot found a build error when building libVirt with -Werror
> introduced in
> b4f62abbf1191c8fbab3306b4bf2f2567e18067f
> kvm/virtio: Set IFF_VNET_HDR when setting up tap fds
>
> The attached patch kind of fixes the build error but I'm not sure, if
> this is the final solution for this problem, though...
Err can you tell us what the error report from the compiler was ?
I assume it was unused warnings for brSetInterfaceMtu() and the
parameter vnet_hdr of brAddTap(), right ?
thanks !
Daniel
--
Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/
daniel at veillard.com | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library http://libvirt.org/
More information about the libvir-list
mailing list