qapi: Flatten object-add
Mapping object-add to the command line as is doesn't result in nice syntax because of the nesting introduced with 'props'. This becomes nicer and more consistent with device_add and netdev_add when we accept properties for the object on the top level instead. 'props' is still accepted after this patch, but marked as deprecated. Signed-off-by:Kevin Wolf <kwolf@redhat.com> Message-Id: <20200224143008.13362-8-kwolf@redhat.com> Acked-by:
Stefan Hajnoczi <stefanha@redhat.com> Signed-off-by:
Kevin Wolf <kwolf@redhat.com>
Showing
- docs/system/deprecated.rst 5 additions, 0 deletionsdocs/system/deprecated.rst
- hw/block/xen-block.c 10 additions, 1 deletionhw/block/xen-block.c
- include/qom/object_interfaces.h 7 additions, 0 deletionsinclude/qom/object_interfaces.h
- monitor/misc.c 2 additions, 0 deletionsmonitor/misc.c
- qapi/qom.json 9 additions, 3 deletionsqapi/qom.json
- qom/qom-qmp-cmds.c 35 additions, 7 deletionsqom/qom-qmp-cmds.c
Loading
Please register or sign in to comment