summaryrefslogtreecommitdiffstats
path: root/qapi
diff options
context:
space:
mode:
authorVictor Toso2022-03-28 16:05:56 +0200
committerMarkus Armbruster2022-03-31 12:34:51 +0200
commitdba673b9ab06a6c657bda076d9c9f58cbbba9dd7 (patch)
treec6810b7fa46b3f180b99ef72c0f12396ca927d82 /qapi
parentqapi: fix example of DUMP_COMPLETED event (diff)
downloadqemu-dba673b9ab06a6c657bda076d9c9f58cbbba9dd7.tar.gz
qemu-dba673b9ab06a6c657bda076d9c9f58cbbba9dd7.tar.xz
qemu-dba673b9ab06a6c657bda076d9c9f58cbbba9dd7.zip
qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE event
Example output lacks mandatory member @qom-path. Provide it. Signed-off-by: Victor Toso <victortoso@redhat.com> Reviewed-by: John Snow <jsnow@redhat.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20220328140604.41484-7-victortoso@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'qapi')
-rw-r--r--qapi/machine.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/machine.json b/qapi/machine.json
index 42fc68403d..9c460ec450 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -1356,7 +1356,8 @@
# Example:
#
# <- { "event": "MEMORY_DEVICE_SIZE_CHANGE",
-# "data": { "id": "vm0", "size": 1073741824},
+# "data": { "id": "vm0", "size": 1073741824,
+# "qom-path": "/machine/unattached/device[2]" },
# "timestamp": { "seconds": 1588168529, "microseconds": 201316 } }
#
##