[libvirt] [PATCHv5] interface: add udev based backend for virInterface

Doug Goldstein cardoe at cardoe.com
Sat Oct 6 03:07:27 UTC 2012


On Fri, Oct 5, 2012 at 6:28 PM, Eric Blake <eblake at redhat.com> wrote:
> On 10/05/2012 12:43 PM, Doug Goldstein wrote:
>> Add a read-only udev based backend for virInterface. Useful for distros
>> that do not have netcf support yet. Multiple libvirt based utilities use
>> a HAL based fallback when virInterface is not available which is less
>> than ideal. This implements:
>> * virConnectNumOfInterfaces()
>> * virConnectListInterfaces()
>> * virConnectNumOfDefinedInterfaces()
>> * virConnectListDefinedInterfaces()
>> * virConnectInterfaceLookupByName()
>> * virConnectInterfaceLookupByMACString()
>> ---
>
> We really should also have virConnectListAllInterfaces() supported as
> part of this patch.
>

This is actually 1/2 and there's a 2/2 that implements
ListAllInterfaces() floating on the ML. I originally implemented the
original patch before ListAllInterfaces hit the ML and submitted that
as a follow on. I'll squash that patch into this patch and repost.

-- 
Doug Goldstein




More information about the libvir-list mailing list