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
Daniel
--
|:
http://berrange.com -o-
http://www.flickr.com/photos/dberrange/ :|
|:
http://libvirt.org -o-
http://virt-manager.org :|
|:
http://autobuild.org -o-
http://search.cpan.org/~danberr/ :|
|:
http://entangle-photo.org -o-
http://live.gnome.org/gtk-vnc :|