[libvirt] [PATCH 03/22] pci: new utility functions
Laine Stump
laine at laine.org
Mon Jun 24 21:42:36 UTC 2013
On 06/24/2013 10:58 AM, Daniel P. Berrange wrote:
> On Mon, Jun 24, 2013 at 05:54:52AM -0400, Laine Stump wrote:
>> * virPCIDeviceFindByIDs - find a device on a list w/o creating an object
>> This makes searching for an existing device on a list lighter weight.
>>
>> * virPCIDeviceCopy - make a copy of an existing virPCIDevice object.
>>
>> * virPCIDeviceGetDriverPathAndName - construct new strings containing
>> 1) the name of the driver bound to this device.
>> 2) the full path to the sysfs config for that driver.
>> (This code was lifted from virPCIDeviceUnbindFromStub, and replaced
>> there with a call to this new function).
>> ---
>> src/libvirt_private.syms | 2 +
>> src/util/virpci.c | 113 ++++++++++++++++++++++++++++++++++++++++-------
>> src/util/virpci.h | 7 +++
>> 3 files changed, 105 insertions(+), 17 deletions(-)
> ACK
Pushed. Thanks!
More information about the libvir-list
mailing list