block/export: Add block-export-del
commit3c3bc462adeb561f5dfdcbb84ae691c95ccef916
authorKevin Wolf <kwolf@redhat.com>
Thu, 24 Sep 2020 15:27:06 +0000 (24 17:27 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 2 Oct 2020 13:46:40 +0000 (2 15:46 +0200)
treebc3fa25c7189db287349b4fe4dd922207b76194f
parent3859ad36f0bdf45a6610d93296b52c9604b6d6f7
block/export: Add block-export-del

Implement a new QMP command block-export-del and make nbd-server-remove
a wrapper around it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-Id: <20200924152717.287415-21-kwolf@redhat.com>
Acked-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block/export/export.c
block/monitor/block-hmp-cmds.c
blockdev-nbd.c
include/block/export.h
include/block/nbd.h
nbd/server.c
qapi/block-export.json