Re: [libvirt] [PATCH v2 2/5] virpcitest: Test virPCIDeviceDetach

2013-11-05 Thread John Ferlan
On 10/31/2013 07:23 AM, Michal Privoznik wrote: > This commit introduces yet another test under virpcitest: > virPCIDeviceDetach. However, in order to be able to do this, the > virpcimock needs to be extended to model the kernel behavior on PCI > device binding and unbinding (create 'driver' symlin

Re: [libvirt] [PATCH v2 2/5] virpcitest: Test virPCIDeviceDetach

2013-11-04 Thread Martin Kletzander
On Thu, Oct 31, 2013 at 11:23:39AM +, Michal Privoznik wrote: > This commit introduces yet another test under virpcitest: > virPCIDeviceDetach. However, in order to be able to do this, the > virpcimock needs to be extended to model the kernel behavior on PCI > device binding and unbinding (crea

Re: [libvirt] [PATCH v2 2/5] virpcitest: Test virPCIDeviceDetach

2013-11-01 Thread Martin Kletzander
On Thu, Oct 31, 2013 at 11:23:39AM +, Michal Privoznik wrote: > This commit introduces yet another test under virpcitest: > virPCIDeviceDetach. However, in order to be able to do this, the > virpcimock needs to be extended to model the kernel behavior on PCI > device binding and unbinding (crea

[libvirt] [PATCH v2 2/5] virpcitest: Test virPCIDeviceDetach

2013-10-31 Thread Michal Privoznik
This commit introduces yet another test under virpcitest: virPCIDeviceDetach. However, in order to be able to do this, the virpcimock needs to be extended to model the kernel behavior on PCI device binding and unbinding (create 'driver' symlinks under the device tree, check for device ID in driver'