qom: Drop QemuOpts based interfacesqapi-object-v3
commit6201d3e37cf8cf480f73f4bda7bd30fdc1b9bf3a
authorKevin Wolf <kwolf@redhat.com>
Mon, 22 Feb 2021 14:04:35 +0000 (22 15:04 +0100)
committerKevin Wolf <kwolf@redhat.com>
Mon, 8 Mar 2021 15:44:37 +0000 (8 16:44 +0100)
tree50d2fdbafd800b746985579829feacfddc26db92
parentbfd85615d2c957ad6cfdd513ff09866f72c60fa3
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>
Acked-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
include/qom/object_interfaces.h
qom/object_interfaces.c
tests/check-qom-proplist.c