
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@redhat.com>
Series: Reviewed-by: Eric Blake <eblake@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