diff options
author | Wenchao Xia <wenchaoqemu@gmail.com> | 2014-06-18 08:43:43 +0200 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2014-06-23 11:12:27 -0400 |
commit | 24b699fb2b3229c6da0d93e80b69a16cc84cd3dd (patch) | |
tree | 3d7058d3565b73de3c83709f44dc1d57925cfbb8 /qapi-event.json | |
parent | 99eaf09c73b213e32e297b1d08d035abb5b268e9 (diff) |
qapi event: convert DEVICE_DELETED
Signed-off-by: Wenchao Xia <wenchaoqemu@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qapi-event.json')
-rw-r--r-- | qapi-event.json | 16 |
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' } } |