[libvirt] [PATCH 1/7] pci: keep a stubDriver in each virPCIDevice

Eric Blake eblake at redhat.com
Thu Apr 25 01:06:05 UTC 2013


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

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


More information about the libvir-list mailing list