]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commit
qemu-img: Improve error messages for failed bdrv_open
authorKevin Wolf <kwolf@redhat.com>
Wed, 9 Feb 2011 10:25:53 +0000 (11:25 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 11 Feb 2011 13:34:01 +0000 (14:34 +0100)
commit038a866f8153c45499b80162f8e1b7188620bd8a
tree6615962fb762411d44dcda3a9a6cee3e949390e3
parent64a216f58edc1c6d34b728c618342aae2493241a
qemu-img: Improve error messages for failed bdrv_open

Output the error message string of the bdrv_open return code. Also set a
non-empty device name for the images because the unknown feature error message
includes it.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Anthony Liguori <aliguori@us.ibm.com>
(cherry picked from commit b9eaf9ecb15a9c69a592f386159163d5efc3b919)
qemu-img.c