summaryrefslogtreecommitdiffstats
path: root/qom
diff options
context:
space:
mode:
authorPaolo Bonzini2020-11-11 15:25:29 +0100
committerPaolo Bonzini2021-03-19 13:48:18 +0100
commit6d9abb6de9cc53a508823db0283061824f2f98a2 (patch)
tree69c4a4d4374c4708fac228adefa530aaeb4f2dab /qom
parentMerge remote-tracking branch 'remotes/philmd/tags/pflash-20210318' into staging (diff)
downloadqemu-6d9abb6de9cc53a508823db0283061824f2f98a2.tar.gz
qemu-6d9abb6de9cc53a508823db0283061824f2f98a2.tar.xz
qemu-6d9abb6de9cc53a508823db0283061824f2f98a2.zip
qom: use qemu_printf to print help for user-creatable objects
Since we have added help support for object_add, the help is printed on stdout. Switch to qemu_printf so that it goes to the monitor. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'qom')
-rw-r--r--qom/object_interfaces.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/qom/object_interfaces.c b/qom/object_interfaces.c
index 7661270b98..11ad2e2078 100644
--- a/qom/object_interfaces.c
+++ b/qom/object_interfaces.c
@@ -13,6 +13,7 @@
#include "qemu/option.h"
#include "qapi/opts-visitor.h"
#include "qemu/config-file.h"
+#include "qemu/qemu-print.h"
bool user_creatable_complete(UserCreatable *uc, Error **errp)
{