Re: [libvirt] [PATCH v2 09/11] qemu: don't mess with non mandatory hostdevs on reattaching

2019-09-16 Thread Nikolay Shirokovskiy
On 16.09.2019 12:09, Peter Krempa wrote: > On Mon, Sep 16, 2019 at 08:58:10 +, Nikolay Shirokovskiy wrote: >> >> >> On 16.09.2019 11:30, Peter Krempa wrote: >>> On Mon, Sep 09, 2019 at 14:33:12 +0300, Nikolay Shirokovskiy wrote: First I don't want to add code to handle dummy device

Re: [libvirt] [PATCH v2 09/11] qemu: don't mess with non mandatory hostdevs on reattaching

2019-09-16 Thread Peter Krempa
On Mon, Sep 16, 2019 at 08:58:10 +, Nikolay Shirokovskiy wrote: > > > On 16.09.2019 11:30, Peter Krempa wrote: > > On Mon, Sep 09, 2019 at 14:33:12 +0300, Nikolay Shirokovskiy wrote: > >> First I don't want to add code to handle dummy device that is used when > >> host usb device is not

Re: [libvirt] [PATCH v2 09/11] qemu: don't mess with non mandatory hostdevs on reattaching

2019-09-16 Thread Nikolay Shirokovskiy
On 16.09.2019 11:30, Peter Krempa wrote: > On Mon, Sep 09, 2019 at 14:33:12 +0300, Nikolay Shirokovskiy wrote: >> First I don't want to add code to handle dummy device that is used when >> host usb device is not present at the moment of starting/migrating etc. >> Second supporting non mandatory

Re: [libvirt] [PATCH v2 09/11] qemu: don't mess with non mandatory hostdevs on reattaching

2019-09-16 Thread Peter Krempa
On Mon, Sep 09, 2019 at 14:33:12 +0300, Nikolay Shirokovskiy wrote: > First I don't want to add code to handle dummy device that is used when > host usb device is not present at the moment of starting/migrating etc. > Second supporting non mandatory policies would require to handle races > when

Re: [libvirt] [PATCH v2 09/11] qemu: don't mess with non mandatory hostdevs on reattaching

2019-09-12 Thread Daniel Henrique Barboza
On 9/9/19 8:33 AM, Nikolay Shirokovskiy wrote: First I don't want to add code to handle dummy device that is used when host usb device is not present at the moment of starting/migrating etc. Second supporting non mandatory policies would require to handle races when host usb device is plugged

[libvirt] [PATCH v2 09/11] qemu: don't mess with non mandatory hostdevs on reattaching

2019-09-09 Thread Nikolay Shirokovskiy
First I don't want to add code to handle dummy device that is used when host usb device is not present at the moment of starting/migrating etc. Second supporting non mandatory policies would require to handle races when host usb device is plugged to host and libvirtd starts adding device but if in