]> git.ipfire.org Git - thirdparty/qemu.git/commit
qom: Factor out helpers from user_creatable_print_help()
authorKevin Wolf <kwolf@redhat.com>
Wed, 7 Oct 2020 16:49:01 +0000 (18:49 +0200)
committerKevin Wolf <kwolf@redhat.com>
Thu, 15 Oct 2020 14:06:27 +0000 (16:06 +0200)
commit0e301d44271b370ed0d46c2e85c2a5bda041c57c
tree2eeebb12b871fdb9aca5edb6c4eda57d7ce69869
parent8bf12c4f752b439eb37e3de8a063af32e986c730
qom: Factor out helpers from user_creatable_print_help()

This creates separate helper functions for printing a list of user
creatable object types and for printing a list of properties of a given
type. This will allow using these parts without having a QemuOpts.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20201007164903.282198-3-kwolf@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
qom/object_interfaces.c