Re: [libvirt PATCH v2 08/16] nodedev: handle mdevs that disappear from mdevctl

2020-08-25 Thread Erik Skultety
On Tue, Aug 18, 2020 at 09:47:58AM -0500, Jonathon Jongsma wrote: > mdevctl does not currently provide any events when the list of defined > devices changes, so we will need to poll mdevctl for the list of defined > devices periodically. When a mediated device no longer exists from one > iteration

[libvirt PATCH v2 08/16] nodedev: handle mdevs that disappear from mdevctl

2020-08-18 Thread Jonathon Jongsma
mdevctl does not currently provide any events when the list of defined devices changes, so we will need to poll mdevctl for the list of defined devices periodically. When a mediated device no longer exists from one iteration to the next, we need to treat it as an "undefine" event. When we get such