diff options
| author | Markus Armbruster | 2019-04-17 21:06:38 +0200 |
|---|---|---|
| committer | Markus Armbruster | 2019-04-18 22:18:59 +0200 |
| commit | cdcd43612032aa91aaa747aacc129a5c781ba447 (patch) | |
| tree | 367022b5804bdebd837d85bdb11878a266960064 /chardev | |
| parent | qemu-print: New qemu_printf(), qemu_vprintf() etc. (diff) | |
| download | qemu-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
