
14 Mar
2016
14 Mar
'16
7:04 a.m.
After rethinking, I guess there's still a problem:
Suggest that 1 the device got detached in qemu after 10 secs, 2 the func virDomainDetachDeviceFlags() has already returned success in
3 the 'def' has the device untouched 4 thus, 10 secs later, the device is detached successfully in qemu, but
On Fri, Mar 11, 2016 at 09:26:23 +0000, Zhangbo (Oscar) wrote: the 5th second. Libvirt won't wait for the DEVICE_DELETED event after then. libvirt has the device un-detached in def(transient XML).
Do you have an evidence (logs) of this happening? Such behavior would be a bug since libvirt always listens to DEVICE_DELETED event and acts on it even if virDomainDetachDeviceFlags already returned.
Jirka
--
Wrong test, sorry for bothering! :)