[libvirt] [PATCH] Account for defined networks when generating bridge names

Cole Robinson crobinso at redhat.com
Mon Feb 16 23:40:59 UTC 2009


This is the second part of the fix for rhbz 479622. If we are generating
a bridge name for a virtual network, don't collide with any bridge name
in a defined network. This patch also generates a bridge name at network
define time, if none was passed in the xml.

The downside to all this is that it won't fix things for existing
victims of the bug: if they have 2 networks with the same bridge device
in the xml, we can't intelligently remedy the situation. This patch just
helps prevent future users getting into that predicament.

Thanks,
Cole
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libvirt-allocate-bridge-name.patch
Type: text/x-diff
Size: 5639 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20090216/9065f034/attachment-0001.bin>


More information about the libvir-list mailing list