[libvirt] [PATCH v8 0/3] DEVICE_DELETED event

Eric Blake eblake at redhat.com
Thu Mar 14 22:56:43 UTC 2013


On 03/14/2013 06:40 AM, Michael S. Tsirkin wrote:
> libvirt has a long-standing bug: when removing the device,
> it can request removal but does not know when the
> removal completes. Add an event so we can fix this in a robust way.
> 
> First patch only adds the event with ID, second patch adds a path field.
> Split this way for ease of backport (stable downstreams without QOM
> would want to only take the first patch).
> Event without fields is still useful as management can use it to
> poll device list to figure out which device was removed.
> 
> Signed-off-by: Michael S. Tsirkin <mst at redhat.com>

Series: Reviewed-by: Eric Blake <eblake at redhat.com>

> 
> If there are no more comments I'll stick this on my
> pci branch.

Of course, libvirt still has to still add a patch to start using this
event, but I think we have reached a good design, including
consideration for distros doing partial backports, which will minimize
the surprises for libvirt.

-- 
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/e90f9690/attachment-0001.sig>


More information about the libvir-list mailing list