summaryrefslogtreecommitdiff
path: root/block/mirror.c
diff options
context:
space:
mode:
authorStefan Weil <sw@weilnetz.de>2013-01-17 21:45:27 +0100
committerKevin Wolf <kwolf@redhat.com>2013-01-25 18:18:35 +0100
commit8937f8222c14ab42140a5645c34e17cc620c05bb (patch)
tree2d7b59ab122493c5bf509f00f4968a85c1679697 /block/mirror.c
parent9f0470bb2d7942c28977296ff2598cdf30886e07 (diff)
downloadqemu-8937f8222c14ab42140a5645c34e17cc620c05bb.tar.gz
block/vdi: Improved return values from vdi_open
vdi_open returned -1 in case of any error, but it should return an error code (negative value of errno or -EMEDIUMTYPE). Signed-off-by: Stefan Weil <sw@weilnetz.de> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block/mirror.c')
0 files changed, 0 insertions, 0 deletions