diff options
author | Markus Armbruster <armbru@redhat.com> | 2014-09-12 21:26:24 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2014-09-25 15:24:14 +0200 |
commit | d224469d87140f0ab9496f752f6042606b80718b (patch) | |
tree | 59997d139115c6143601cdd011db01f546c03611 /block.c | |
parent | e5d7bbeb10b72888e112646ef68b1bea0e4e286d (diff) | |
download | qemu-d224469d87140f0ab9496f752f6042606b80718b.tar.gz qemu-d224469d87140f0ab9496f752f6042606b80718b.tar.bz2 qemu-d224469d87140f0ab9496f752f6042606b80718b.zip |
block: Improve message for device name clashing with node name
Suggested-by: Benoit Canet <benoit.canet@nodalink.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: BenoƮt Canet <benoit.canet@nodalink.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.c')
-rw-r--r-- | block.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -347,7 +347,8 @@ BlockDriverState *bdrv_new(const char *device_name, Error **errp) return NULL; } if (bdrv_find_node(device_name)) { - error_setg(errp, "Device with node-name '%s' already exists", + error_setg(errp, + "Device name '%s' conflicts with an existing node name", device_name); return NULL; } |