diff options
author | Colin Lord <clord@redhat.com> | 2016-06-06 14:15:22 -0400 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2016-06-08 10:21:09 +0200 |
commit | bf18bee547d19fde314e7b6b81f21f68b46c8a92 (patch) | |
tree | 5af96a2d939c297aa695eb5934d799292b5714e5 /exec.c | |
parent | 2a9170bcd4980cdd75791f3aa0f762c5e53334bb (diff) | |
download | qemu-bf18bee547d19fde314e7b6b81f21f68b46c8a92.zip |
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 'exec.c')
0 files changed, 0 insertions, 0 deletions