]> git.proxmox.com Git - mirror_qemu.git/commit
hmp: Add nbd_server_remove to mirror QMP command
authorEric Blake <eblake@redhat.com>
Thu, 25 Jan 2018 14:45:57 +0000 (08:45 -0600)
committerEric Blake <eblake@redhat.com>
Fri, 26 Jan 2018 15:56:12 +0000 (09:56 -0600)
commit08fb10a7292637eb5836b8ac07b7ef8267db03be
tree30550b8a851e2be1eb5f9a4f2ff28c6e259b5b4a
parent2dadedce2b2fbdfdce1de8f108a3d67c2241df87
hmp: Add nbd_server_remove to mirror QMP command

Since everything else about the nbd-server-* QMP commands is
accessible from HMP, we might as well make removing an export
available as well.  For now, I went with a bool flag rather
than a mode string for choosing between safe (default) and
hard modes.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20180125144557.25502-1-eblake@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Eric Blake <eblake@redhat.com>
hmp-commands.hx
hmp.c
hmp.h