diff options
| author | Kevin Wolf | 2016-09-21 14:56:09 +0200 |
|---|---|---|
| committer | Kevin Wolf | 2016-09-23 13:45:36 +0200 |
| commit | e467da7b92ca207f02d29f52583a1097440a83cc (patch) | |
| tree | 6afecef09cbb02797269c3aa0b007326554e8450 /block/commit.c | |
| parent | qemu-iotests/139: Avoid blockdev-add with id (diff) | |
| download | qemu-e467da7b92ca207f02d29f52583a1097440a83cc.tar.gz qemu-e467da7b92ca207f02d29f52583a1097440a83cc.tar.xz qemu-e467da7b92ca207f02d29f52583a1097440a83cc.zip | |
block: Avoid printing NULL string in error messages
Even for nodes that have a BlockBackend attached, bdrv_get_parent_name()
can return NULL if the BB is anonymous (e.g. it belongs to a block job
or a device that was created with a drive=<node-name> option).
Remove the information from the error message. The user probably knows
already why the node is still in use.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'block/commit.c')
0 files changed, 0 insertions, 0 deletions
