summary refs log tree commit diff stats
path: root/qemu-io-cmds.c
diff options
context:
space:
mode:
authorAlberto Garcia <berto@igalia.com>2015-11-02 16:51:55 +0200
committerMax Reitz <mreitz@redhat.com>2015-11-11 16:55:28 +0100
commit81b936ae70e635557af9ca80922ee69146cb5f4c (patch)
tree5f0e78e898987584d69ebe045f0c31825fd515f4 /qemu-io-cmds.c
parentf636ae85f3db8ffb987c79715869dba1b8217e8a (diff)
downloadfocaccia-qemu-81b936ae70e635557af9ca80922ee69146cb5f4c.tar.gz
focaccia-qemu-81b936ae70e635557af9ca80922ee69146cb5f4c.zip
block: Add 'x-blockdev-del' QMP command
This command is still experimental, hence the name.

This is the companion to 'blockdev-add'. It allows deleting a
BlockBackend with its associated BlockDriverState tree, or a
BlockDriverState that is not attached to any backend.

In either case, the command fails if the reference count is greater
than 1 or the BlockDriverState has any parents.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
Message-id: 6cfc148c77aca1da942b094d811bfa3fcf7ac7bb.1446475331.git.berto@igalia.com
Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions