<div dir="ltr"><div>Hi, developers</div><div>I has a question about the event VIR_DOMAIN_EVENT_ID_DEVICE_REMOVED. When will it occur? Detach device from an active VM? Or an inactive VM? Or both?</div><div>I get a code comment from the callback of this event <a href="https://gitlab.com/libvirt/libvirt/-/blob/master/include/libvirt/libvirt-domain.h#L4151">https://gitlab.com/libvirt/libvirt/-/blob/master/include/libvirt/libvirt-domain.h#L4151</a></div><div>"This callback occurs when a device is removed from the domain"</div><div><br></div><div>But it is not clear the domain could be active or inactive or both.<br></div></div>