mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
monitor: Simplify how -device/device_add print help
Commit a95db58f21
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>
This commit is contained in:
parent
6ade45f2ac
commit
8acb2a758b
3 changed files with 18 additions and 37 deletions
|
@ -48,7 +48,4 @@ int monitor_fdset_dup_fd_add(int64_t fdset_id, int dup_fd);
|
|||
void monitor_fdset_dup_fd_remove(int dup_fd);
|
||||
int monitor_fdset_dup_fd_find(int dup_fd);
|
||||
|
||||
int monitor_vfprintf(FILE *stream,
|
||||
const char *fmt, va_list ap) GCC_FMT_ATTR(2, 0);
|
||||
|
||||
#endif /* MONITOR_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue