projects
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf6b56d
)
qom: use qemu_printf to print help for user-creatable objects
author
Paolo Bonzini
<pbonzini@redhat.com>
Wed, 11 Nov 2020 14:25:29 +0000
(09:25 -0500)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 19 Mar 2021 12:48:18 +0000
(08:48 -0400)
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>
qom/object_interfaces.c
patch
|
blob
|
history
diff --git
a/qom/object_interfaces.c
b/qom/object_interfaces.c
index 7661270b98aceb06f7f55b9c5be3ba3dfa2a704b..11ad2e207834821240de1887f296e9315021c299 100644
(file)
--- 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)
{