aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Toso <victortoso@redhat.com>2022-03-28 16:05:56 +0200
committerMarkus Armbruster <armbru@redhat.com>2022-03-31 12:34:51 +0200
commitdba673b9ab06a6c657bda076d9c9f58cbbba9dd7 (patch)
treec6810b7fa46b3f180b99ef72c0f12396ca927d82
parent077a5b1ec39bee4c20f3ba5ca0800cbfe400cde3 (diff)
downloadqemu-dba673b9ab06a6c657bda076d9c9f58cbbba9dd7.zip
qemu-dba673b9ab06a6c657bda076d9c9f58cbbba9dd7.tar.gz
qemu-dba673b9ab06a6c657bda076d9c9f58cbbba9dd7.tar.bz2
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>
-rw-r--r--qapi/machine.json3
1 files changed, 2 insertions, 1 deletions
diff --git a/qapi/machine.json b/qapi/machine.json
index 42fc684..9c460ec 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 } }
#
##