On 03/14/2013 06:22 AM, Michael S. Tsirkin wrote:
>> Just this. Try this: rmmod acpiphp in guest, then:
>>
>> device_del
>> system_reset
>>
>> and see the device disappear even though it was not acked by guest.
>
> Cool, I didn't know that.
>
> Just to make sure: does this automatic removal completion send
> DEVICE_DELETED events?
With my patch, it does.
Good. That is the best behavior, if libvirt is going to start relying
on the event as a means to avoid polling on all but libvirtd restarts.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library
http://libvirt.org