aboutsummaryrefslogtreecommitdiff
path: root/tests/qemu-iotests/254
diff options
context:
space:
mode:
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>2021-06-01 10:52:15 +0300
committerKevin Wolf <kwolf@redhat.com>2021-06-02 14:23:20 +0200
commit2c0a3acb9570a9e1ffae3c73ef94bc826dc9dd1d (patch)
tree0e6b71b1725ffa73172770876c01886849c32aa4 /tests/qemu-iotests/254
parentfd240a184b0e8a9889097216d182def6aece30cb (diff)
downloadqemu-2c0a3acb9570a9e1ffae3c73ef94bc826dc9dd1d.zip
qemu-2c0a3acb9570a9e1ffae3c73ef94bc826dc9dd1d.tar.gz
qemu-2c0a3acb9570a9e1ffae3c73ef94bc826dc9dd1d.tar.bz2
block: improve bdrv_child_get_parent_desc()
We have different types of parents: block nodes, block backends and jobs. So, it makes sense to specify type together with name. Next, this handler us used to compose an error message about permission conflict. And permission conflict occurs in a specific place of block graph. We shouldn't report name of parent device (as it refers another place in block graph), but exactly and only the name of the node. So, use bdrv_get_node_name() directly. iotest 283 output is updated. Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Reviewed-by: Alberto Garcia <berto@igalia.com> Message-Id: <20210601075218.79249-4-vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'tests/qemu-iotests/254')
0 files changed, 0 insertions, 0 deletions