]> Git Repo - qemu.git/commit - qapi/block-core.json
block: Add 'x-blockdev-del' QMP command
authorAlberto Garcia <[email protected]>
Mon, 2 Nov 2015 14:51:55 +0000 (16:51 +0200)
committerMax Reitz <[email protected]>
Wed, 11 Nov 2015 15:55:28 +0000 (16:55 +0100)
commit81b936ae70e635557af9ca80922ee69146cb5f4c
tree5f0e78e898987584d69ebe045f0c31825fd515f4
parentf636ae85f3db8ffb987c79715869dba1b8217e8a
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 <[email protected]>
Reviewed-by: Max Reitz <[email protected]>
Message-id: 6cfc148c77aca1da942b094d811bfa3fcf7ac7bb.1446475331[email protected]
Signed-off-by: Max Reitz <[email protected]>
blockdev.c
qapi/block-core.json
qmp-commands.hx
This page took 0.025326 seconds and 4 git commands to generate.