]> xenbits.xensource.com Git - qemu-xen.git/commit
qom: Support JSON in HMP object_add and tools --object
authorKevin Wolf <kwolf@redhat.com>
Fri, 12 Mar 2021 13:19:21 +0000 (14:19 +0100)
committerKevin Wolf <kwolf@redhat.com>
Fri, 19 Mar 2021 09:18:17 +0000 (10:18 +0100)
commit155b5f8b8d3d5dedd7c57e5223e822dc1b5295c8
tree6d49f3223e5d62635eff2c0ebe446afd031448bb
parentf3b70e0779c84a5c220ca67610b27cbe672d986a
qom: Support JSON in HMP object_add and tools --object

Support JSON for --object in all tools and in HMP object_add in the same
way as it is supported in qobject_input_visitor_new_str().

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