[libvirt] [Qemu-devel] [PATCH v6 1/3] qdev: DEVICE_DELETED event

Eric Blake eblake at redhat.com
Thu Mar 14 23:31:33 UTC 2013


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20130314/2aacb08a/attachment-0001.sig>


More information about the libvir-list mailing list