Skip to content

Commit

Permalink
qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE event
Browse files Browse the repository at this point in the history
Example output lacks mandatory member @qom-path. Provide it.

Signed-off-by: Victor Toso <[email protected]>
Reviewed-by: John Snow <[email protected]>
Reviewed-by: Markus Armbruster <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Markus Armbruster <[email protected]>
  • Loading branch information
victortoso authored and Markus Armbruster committed Mar 31, 2022
1 parent 077a5b1 commit dba673b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qapi/machine.json
Original file line number Diff line number Diff line change
Expand Up @@ -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 } }
#
##
Expand Down

0 comments on commit dba673b

Please sign in to comment.