mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
qapi/qmp: add ObjectPropertyInfo.default-value
Report the default value associated with a property. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20200110153039.1379601-26-marcandre.lureau@redhat.com> [Report it as type "any", not string. - Paolo] Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
4df8161673
commit
1bb3d7d92c
2 changed files with 8 additions and 1 deletions
|
@ -26,10 +26,15 @@
|
|||
#
|
||||
# @description: if specified, the description of the property.
|
||||
#
|
||||
# @default-value: the default value, if any (since 5.0)
|
||||
#
|
||||
# Since: 1.2
|
||||
##
|
||||
{ 'struct': 'ObjectPropertyInfo',
|
||||
'data': { 'name': 'str', 'type': 'str', '*description': 'str' } }
|
||||
'data': { 'name': 'str',
|
||||
'type': 'str',
|
||||
'*description': 'str',
|
||||
'*default-value': 'any' } }
|
||||
|
||||
##
|
||||
# @qom-list:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue