[libvirt] [PATCH 5/7] qemu: implement virNodeDeviceDetachFlags backend

Eric Blake eblake at redhat.com
Thu Apr 25 02:05:28 UTC 2013


On 04/24/2013 01:26 PM, Laine Stump wrote:
> The differences from virNodeDeviceDettach are very minor:
> 
> 1) Check that the flags are 0.
> 
> 2) Set the virPCIDevice's stubDriver according to the driverName that
>    is passed in.
> 
> 3) Call virPCIDeviceDetach with a NULL stubDriver, indicating it
>    should get the name of the stub driver from the virPCIDevice
>    object.
> ---
>  src/qemu/qemu_driver.c | 25 +++++++++++++++++++++++--
>  1 file changed, 23 insertions(+), 2 deletions(-)

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/85f51f4c/attachment-0001.sig>


More information about the libvir-list mailing list