mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
qapi/qom: Drop deprecated 'props' from object-add
The option has been deprecated in QEMU 5.0, remove it. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Acked-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com>
This commit is contained in:
parent
9695c3af3a
commit
5024340745
4 changed files with 6 additions and 31 deletions
|
@ -211,10 +211,6 @@
|
|||
#
|
||||
# @id: the name of the new object
|
||||
#
|
||||
# @props: a dictionary of properties to be passed to the backend. Deprecated
|
||||
# since 5.0, specify the properties on the top level instead. It is an
|
||||
# error to specify the same option both on the top level and in @props.
|
||||
#
|
||||
# Additional arguments depend on qom-type and are passed to the backend
|
||||
# unchanged.
|
||||
#
|
||||
|
@ -232,7 +228,7 @@
|
|||
#
|
||||
##
|
||||
{ 'command': 'object-add',
|
||||
'data': {'qom-type': 'str', 'id': 'str', '*props': 'any'},
|
||||
'data': {'qom-type': 'str', 'id': 'str'},
|
||||
'gen': false } # so we can get the additional arguments
|
||||
|
||||
##
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue