diff options
author | Markus Armbruster <armbru@redhat.com> | 2015-02-12 17:43:08 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2015-02-26 14:48:16 +0100 |
commit | 6750e795b167e3defab36502e61b8c57ede119eb (patch) | |
tree | 4cae222f9fdd6af82a59d4fcf77b833392898d3f /hw/usb/desc.h | |
parent | 79087c782e1549a6f9c8303aafc0b74f4e637756 (diff) |
qemu-img: Suppress unhelpful extra errors in convert, resize
add_old_style_options() for img_convert() and img_resize() use
qemu_opt_set(), which reports errors with qerror_report_err(). Its
error messages aren't helpful here, the caller reports one that
actually makes sense. Reproducer:
$ qemu-img convert -B raw in.img out.img
qemu-img: Invalid parameter 'backing_file'
qemu-img: Backing file not supported for file format 'raw'
Switch to qemu_opt_set_err() to get rid of the unwanted messages.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'hw/usb/desc.h')
0 files changed, 0 insertions, 0 deletions