[libvirt] [PATCH] Fix segfault if virtual network has no bridge listed

Cole Robinson crobinso at redhat.com
Tue Dec 9 18:50:33 UTC 2008

The attached patch fixes a libvirtd segfault if we try to call
virNetworkGetBridgeName on a virtual network with no bridge in its xml.
This occurs if the network hasn't been started as long as the daemon has
been running.

This patch also cleans up an error path in qemu_conf which was
overwriting the error returned by virNetworkGetBridgeName.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-check-network-bridge.patch
Type: text/x-patch
Size: 1187 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20081209/c77f76c3/attachment-0001.bin>

More information about the libvir-list mailing list