qom: Drop QemuOpts based interfacesqapi-object-v2
commitcfb7eeef6871c2d2bda202748fb229d152dbb29b
authorKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2021 14:04:35 +0000 (22 15:04 +0100)
committerKevin Wolf <kwolf@redhat.com>
Wed, 24 Feb 2021 12:22:38 +0000 (24 13:22 +0100)
tree9305b28e2b3699768f5b40ae746cfe2535d09f98
parent40e862eb2c903db55d01d6830402e7b0195af28e
qom: Drop QemuOpts based interfaces

user_creatable_add_opts() has only a single user left, which is a test
case. Rewrite the test to use user_creatable_add_type() instead (which
is the remaining function that doesn't require a QAPI schema) and drop
the QemuOpts related functions.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
include/qom/object_interfaces.h
qom/object_interfaces.c
tests/check-qom-proplist.c