summaryrefslogtreecommitdiffstats
path: root/chardev
diff options
context:
space:
mode:
authorMarkus Armbruster2019-04-17 21:06:38 +0200
committerMarkus Armbruster2019-04-18 22:18:59 +0200
commitcdcd43612032aa91aaa747aacc129a5c781ba447 (patch)
tree367022b5804bdebd837d85bdb11878a266960064 /chardev
parentqemu-print: New qemu_printf(), qemu_vprintf() etc. (diff)
downloadqemu-cdcd43612032aa91aaa747aacc129a5c781ba447.tar.gz
qemu-cdcd43612032aa91aaa747aacc129a5c781ba447.tar.xz
qemu-cdcd43612032aa91aaa747aacc129a5c781ba447.zip
blockdev: Make -drive format=help print to stdout
Command line help explicitly requested by the user should be printed to stdout, not stderr. We do elsewhere. Adjust -drive to match: use qemu_printf() instead of error_printf(). Plain printf() would be wrong because we need to print to the current monitor for "drive_add ... format=help". Cc: Kevin Wolf <kwolf@redhat.com> Cc: Max Reitz <mreitz@redhat.com> Cc: qemu-block@nongnu.org Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-Id: <20190417190641.26814-13-armbru@redhat.com>
Diffstat (limited to 'chardev')
0 files changed, 0 insertions, 0 deletions