aboutsummaryrefslogtreecommitdiff
path: root/qapi
diff options
context:
space:
mode:
Diffstat (limited to 'qapi')
-rw-r--r--qapi/qom.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/qapi/qom.json b/qapi/qom.json
index 32db96ffc4..1e3c2ad555 100644
--- a/qapi/qom.json
+++ b/qapi/qom.json
@@ -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: