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>
This commit is contained in:
Paolo Bonzini 2020-11-11 09:25:29 -05:00
parent cf6b56d4f2
commit 6d9abb6de9
1 changed files with 1 additions and 0 deletions

View File

@ -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)
{