[libvirt] [PATCH] Handle kernels with no ipv6 support

Daniel Veillard veillard at redhat.com
Tue Aug 11 09:29:36 UTC 2009


On Mon, Aug 10, 2009 at 11:20:51AM +0100, Mark McLoughlin wrote:
> If the ipv6 kernel module is not loaded, then we get this when starting
> a virtual network:
> 
>   libvir: Network Config error :
>   cannot enable /proc/sys/net/ipv6/conf/virbr0/disable_ipv6:
>   No such file or directory
> 
> If disable_ipv6 is not present, we should just merrily continue on our
> way.
> 
> * src/network_driver.c: make networkDisableIPV6() not fail if the kernel
>   has no ipv6 support

  Looks fine, ACK

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