[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [libvirt] [PATCH v6 1/3] qdev: DEVICE_DELETED event
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [libvirt] [PATCH v6 1/3] qdev: DEVICE_DELETED event |
Date: |
Thu, 14 Mar 2013 17:31:33 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3 |
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
signature.asc
Description: OpenPGP digital signature
[Qemu-devel] [PATCH v6 2/3] qom: pass original path to unparent method, Michael S. Tsirkin, 2013/03/13
[Qemu-devel] [PATCH v6 3/3] qmp: add path to device_deleted event, Michael S. Tsirkin, 2013/03/13