summary refs log tree commit diff stats
path: root/trace/simple.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-04-17 21:06:38 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-04-18 22:18:59 +0200
commitcdcd43612032aa91aaa747aacc129a5c781ba447 (patch)
tree367022b5804bdebd837d85bdb11878a266960064 /trace/simple.c
parent637de4dba268395f7f2e58e40349468c5e17c060 (diff)
downloadfocaccia-qemu-cdcd43612032aa91aaa747aacc129a5c781ba447.tar.gz
focaccia-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 'trace/simple.c')
0 files changed, 0 insertions, 0 deletions