diff options
author | Kevin Wolf <kwolf@redhat.com> | 2020-09-24 17:27:07 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2020-10-02 15:46:40 +0200 |
commit | 1a9f7a804f52caee6bc6769a8bb0a018e6c8ec81 (patch) | |
tree | 7e490524d05050c6c2f07b71fce77f4952736ef9 /qapi/block-export.json | |
parent | 3c3bc462adeb561f5dfdcbb84ae691c95ccef916 (diff) |
block/export: Add BLOCK_EXPORT_DELETED event
Clients may want to know when an export has finally disappeard
(block-export-del returns earlier than that in the general case), so add
a QAPI event for it.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20200924152717.287415-22-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qapi/block-export.json')
-rw-r--r-- | qapi/block-export.json | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/qapi/block-export.json b/qapi/block-export.json index 3d22527c84..76e014c406 100644 --- a/qapi/block-export.json +++ b/qapi/block-export.json @@ -233,3 +233,15 @@ ## { 'command': 'block-export-del', 'data': { 'id': 'str', '*mode': 'BlockExportRemoveMode' } } + +## +# @BLOCK_EXPORT_DELETED: +# +# Emitted when a block export is removed and its id can be reused. +# +# @id: Block export id. +# +# Since: 5.2 +## +{ 'event': 'BLOCK_EXPORT_DELETED', + 'data': { 'id': 'str' } } |