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

Peter Krempa pkrempa at redhat.com
Mon Sep 16 08:30:44 UTC 2019


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 host usb device is plugged to host and libvirtd starts adding
> device but if in the meanwhile host usb device it unplugged back then
> current code will use dummy device which is not desired in this case.

I don't think that handling startupPolicy for cases other than VM
startup makes semantic sense. Could you elaborate what's the goal? I
didn't quite get it from the commit message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190916/424bf278/attachment-0001.sig>


More information about the libvir-list mailing list