Re: [libvirt PATCH v6 27/30] nodedev: fix hang when destroying an mdev in use

2021-04-12 Thread John Ferlan
On 3/26/21 12:48 PM, Jonathon Jongsma wrote: Calling `mdevctl stop` for a mediated device that is in use by an active domain will block until that vm exits (or the vm closes the device). Since the nodedev driver cannot query the hypervisor driver to see whether any active domains are using the

[libvirt PATCH v6 27/30] nodedev: fix hang when destroying an mdev in use

2021-03-26 Thread Jonathon Jongsma
Calling `mdevctl stop` for a mediated device that is in use by an active domain will block until that vm exits (or the vm closes the device). Since the nodedev driver cannot query the hypervisor driver to see whether any active domains are using the device, we resort to a workaround that relies on