qdev: DEVICE_DELETED event
commit0402a5d65ec004df5345d1f736e2ddaa7aee6665
authorMichael S. Tsirkin <mst@redhat.com>
Wed, 6 Mar 2013 12:58:59 +0000 (6 14:58 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Sun, 17 Mar 2013 11:27:27 +0000 (17 13:27 +0200)
tree585662c4509f2033a15c317a576d2473b4dbb8dc
parentb1999e87b4d42305419329cae459e1b43f706d96
qdev: DEVICE_DELETED event

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.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
QMP/qmp-events.txt
hw/qdev.c
include/monitor/monitor.h
monitor.c
qapi-schema.json