[libvirt] [PATCH] network: bridge: Don't start network if it collides with host routing

Eric Blake eblake at redhat.com
Fri May 21 17:21:34 UTC 2010


On 05/21/2010 09:28 AM, Cole Robinson wrote:
>> Any interest in doing this with netlink instead? (I've got this "thing" 
>> against parsing text files to get information if it can be retrieved via 
>> a nice clean API). If so, I think I can whip up the equivalent code with 
>> libnl calls, but probably not until later in the afternoon.
>>
>> If I'm the only one who feels uneasy about parsing stuff out of /proc, 
>> then I'm fine with that too.
>>
> 
> My feeling is it depends on what else libnl buys us. A library
> dependency for a single safety check doesn't seem worth it. If we use
> the lib, we definitely don't want it to be optional, as debugging
> network issues in the future shouldn't require asking 'is libvirt
> compiled against libnl'.

Stefan just posted a patch series that would also add a dependency on
libnl for vepa; as long as we are using the library, we might as well
use it for more than one thing.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100521/6dd7c110/attachment-0001.sig>


More information about the libvir-list mailing list