summaryrefslogtreecommitdiffstats
path: root/include/monitor/monitor.h
diff options
context:
space:
mode:
authorMarc-André Lureau2018-09-07 09:45:39 +0200
committerMarc-André Lureau2018-10-05 14:14:22 +0200
commita95db58f210ddf5ed61f25cfcb89063cda86ea3c (patch)
tree63e813a437c031361127ec22f39acd059de0c234 /include/monitor/monitor.h
parentMerge remote-tracking branch 'remotes/elmarco/tags/chardev-pull-request' into... (diff)
downloadqemu-a95db58f210ddf5ed61f25cfcb89063cda86ea3c.tar.gz
qemu-a95db58f210ddf5ed61f25cfcb89063cda86ea3c.tar.xz
qemu-a95db58f210ddf5ed61f25cfcb89063cda86ea3c.zip
qdev-monitor: print help to stdout
qdev_device_help() is used from command line "-device help", or from HMP "device_add". If used from command line, print help to stdout (it is only printed on explicit demand). Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include/monitor/monitor.h')
-rw-r--r--include/monitor/monitor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/monitor/monitor.h b/include/monitor/monitor.h
index 2ef5e04b37..6fd2c53b09 100644
--- a/include/monitor/monitor.h
+++ b/include/monitor/monitor.h
@@ -47,4 +47,7 @@ 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);
+void monitor_vfprintf(FILE *stream,
+ const char *fmt, va_list ap) GCC_FMT_ATTR(2, 0);
+
#endif /* MONITOR_H */