block/export: Add BLOCK_EXPORT_DELETED event
commit1a9f7a804f52caee6bc6769a8bb0a018e6c8ec81
authorKevin Wolf <kwolf@redhat.com>
Thu, 24 Sep 2020 15:27:07 +0000 (24 17:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Oct 2020 13:46:40 +0000 (2 15:46 +0200)
tree7e490524d05050c6c2f07b71fce77f4952736ef9
parent3c3bc462adeb561f5dfdcbb84ae691c95ccef916
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>
block/export/export.c
qapi/block-export.json
tests/qemu-iotests/140
tests/qemu-iotests/140.out
tests/qemu-iotests/223.out