block: Accept node-name for blockdev-mirror
commit07eec652722f3d12b07c5b28d0671ddfc22fe6a5
authorKevin Wolf <kwolf@redhat.com>
Thu, 23 Jun 2016 12:20:24 +0000 (23 14:20 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 5 Sep 2016 17:06:47 +0000 (5 19:06 +0200)
tree6fa6380f4d90c4660b880bdd78d7087fe2dd3980
parentcef34eebf3d0f252a3b3e9a2a459b6c3ecc56f68
block: Accept node-name for blockdev-mirror

In order to remove the necessity to use BlockBackend names in the
external API, we want to allow node-names everywhere. This converts
blockdev-mirror to accept a node-name without lifting the restriction
that we're operating at a root node.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
blockdev.c
qapi/block-core.json
qmp-commands.hx