]> git.ipfire.org Git - thirdparty/qemu.git/commit
vl: Split off user_creatable_print_help()
authorKevin Wolf <kwolf@redhat.com>
Fri, 11 Oct 2019 17:20:12 +0000 (19:20 +0200)
committerKevin Wolf <kwolf@redhat.com>
Mon, 14 Oct 2019 15:12:48 +0000 (17:12 +0200)
commit3e9297f3659701a72110f0f560b4cc22452972f1
tree8efe5e822111ba96540ce56ca0ecb78078f2b25d
parent48c8d3ce6daad66d86ba972e8930adc54c02db1a
vl: Split off user_creatable_print_help()

Printing help for --object is something that we not only want in the
system emulator, but also in tools that support --object. Move it into a
separate function in qom/object_interfaces.c to make the code accessible
for tools.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
include/qom/object_interfaces.h
qom/object_interfaces.c
vl.c