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

2013-04-24 Thread Laine Stump
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

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

2013-04-24 Thread Eric Blake
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