]> git.proxmox.com Git - mirror_qemu.git/commit - hmp.c
block: Add 'base-node' parameter to the 'block-stream' command
authorAlberto Garcia <berto@igalia.com>
Fri, 28 Oct 2016 07:08:19 +0000 (10:08 +0300)
committerKevin Wolf <kwolf@redhat.com>
Mon, 31 Oct 2016 15:52:39 +0000 (16:52 +0100)
commit312fe09cc8af86c25a0c17162539589121e7d9a9
tree02816e1079b4d5f0a64cfc102378449a13502baf
parent48361afba902ab90a9f667a94f863bafd1417d2e
block: Add 'base-node' parameter to the 'block-stream' command

The way to specify the node from which to copy data in the
block-stream operation is by using the 'base' parameter. This
parameter however takes a file name, not a node name.

Since we want to be able to perform this operation using only node
names, this patch adds a new 'base-node' parameter.

Signed-off-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
blockdev.c
docs/qmp-commands.txt
hmp.c
qapi/block-core.json