OSDN Git Service

monitor: Simplify how -device/device_add print help
authorMarkus Armbruster <armbru@redhat.com>
Wed, 17 Apr 2019 19:06:41 +0000 (21:06 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Thu, 18 Apr 2019 20:18:59 +0000 (22:18 +0200)
commit8acb2a758bdeb15027ae3150fc0f4e14f6078006
tree578d7fcf17e21d159e7a909eaa925a338b7069e5
parent6ade45f2ac936114d82a18ed10df1fb717f4a584
monitor: Simplify how -device/device_add print help

Commit a95db58f210 added monitor_vfprintf() as an error_printf()
generalized from stderr to arbitrary streams, then used it wrapped in
helper out_printf() to print -device/device_add help to stdout.  Use
qemu_printf() instead, and delete monitor_vfprintf() and out_printf().

Cc: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Message-Id: <20190417190641.26814-16-armbru@redhat.com>
include/monitor/monitor.h
monitor.c
qdev-monitor.c