On 04/24/2013 01:26 PM, Laine Stump wrote:
This can be set when the virPCIDevice is created and placed on a
list,
then used later when traversing the list to determine which stub
driver to bind/unbind for managed devices.
The existing Detach and Attach functions' signatures haven't been
changed (they still accept a stub driver name in the arg list), but if
the arg list has NULL for stub driver and one is available in the
device's object, that will be used. (we may later deprecate and remove
the arg from those functions).
---
src/libvirt_private.syms | 2 ++
src/util/virpci.c | 19 +++++++++++++++++++
src/util/virpci.h | 5 ++++-
3 files changed, 25 insertions(+), 1 deletion(-)
ACK.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org