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>
Showing
- block/export/export.c 42 additions, 1 deletionblock/export/export.c
- block/monitor/block-hmp-cmds.c 2 additions, 2 deletionsblock/monitor/block-hmp-cmds.c
- blockdev-nbd.c 6 additions, 19 deletionsblockdev-nbd.c
- include/block/export.h 1 addition, 0 deletionsinclude/block/export.h
- include/block/nbd.h 0 additions, 1 deletioninclude/block/nbd.h
- nbd/server.c 0 additions, 14 deletionsnbd/server.c
- qapi/block-export.json 26 additions, 6 deletionsqapi/block-export.json
Loading
Please register or sign in to comment