Re: [libvirt] [PATCH v2 00/11] hostdev: handle usb detach/attach on node

2019-09-13 Thread Nikolay Shirokovskiy
On 13.09.2019 00:08, Daniel Henrique Barboza wrote: > Hi, > > While reviewing these I got one question that I think it's better > asked here since it's not related to a single patch. > > I understand the use case for udev machinery to handle the device > removal event - in fact, I wonder if

Re: [libvirt] [PATCH v2 00/11] hostdev: handle usb detach/attach on node

2019-09-12 Thread Daniel Henrique Barboza
Hi, While reviewing these I got one question that I think it's better asked here since it's not related to a single patch. I understand the use case for udev machinery to handle the device removal event - in fact, I wonder if this should be done to all hostdevs, not just USB - but I'm not sure

[libvirt] [PATCH v2 00/11] hostdev: handle usb detach/attach on node

2019-09-09 Thread Nikolay Shirokovskiy
*Notes* Deleting usb device from qemu is synchronous operation (although it is not stated in qemu API). I did not used this knowledge in the series. The last patch is remnant of previus version of the series yet it is useful. Diff to previous[1] version: - don't use dummy device while host