summaryrefslogtreecommitdiff
path: root/qapi-event.json
diff options
context:
space:
mode:
Diffstat (limited to 'qapi-event.json')
-rw-r--r--qapi-event.json16
1 files changed, 16 insertions, 0 deletions
diff --git a/qapi-event.json b/qapi-event.json
index e7dbfab56f..c880d77291 100644
--- a/qapi-event.json
+++ b/qapi-event.json
@@ -106,3 +106,19 @@
##
{ 'event': 'WATCHDOG',
'data': { 'action': 'WatchdogExpirationAction' } }
+
+##
+# @DEVICE_DELETED
+#
+# Emitted whenever the device removal completion is acknowledged by the guest.
+# At this point, it's safe to reuse the specified device ID. Device removal can
+# be initiated by the guest or by HMP/QMP commands.
+#
+# @device: #optional, device name
+#
+# @path: device path
+#
+# Since: 1.5
+##
+{ 'event': 'DEVICE_DELETED',
+ 'data': { '*device': 'str', 'path': 'str' } }