summaryrefslogtreecommitdiff
path: root/qemu-img-cmds.hx
diff options
context:
space:
mode:
authorColin Lord <clord@redhat.com>2016-06-06 14:15:22 -0400
committerKevin Wolf <kwolf@redhat.com>2016-06-08 10:21:09 +0200
commitbf18bee547d19fde314e7b6b81f21f68b46c8a92 (patch)
tree5af96a2d939c297aa695eb5934d799292b5714e5 /qemu-img-cmds.hx
parent2a9170bcd4980cdd75791f3aa0f762c5e53334bb (diff)
downloadqemu-bf18bee547d19fde314e7b6b81f21f68b46c8a92.tar.gz
blockdev: clean up error handling in do_open_tray
Returns negative error codes and accompanying error messages in cases where the device has no tray or the tray is locked and isn't forced open. This extra information should result in better flexibility in functions that call do_open_tray. Suggested by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Colin Lord <clord@redhat.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'qemu-img-cmds.hx')
0 files changed, 0 insertions, 0 deletions