From dba673b9ab06a6c657bda076d9c9f58cbbba9dd7 Mon Sep 17 00:00:00 2001 From: Victor Toso Date: Mon, 28 Mar 2022 16:05:56 +0200 Subject: qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE event Example output lacks mandatory member @qom-path. Provide it. Signed-off-by: Victor Toso Reviewed-by: John Snow Reviewed-by: Markus Armbruster Message-Id: <20220328140604.41484-7-victortoso@redhat.com> Signed-off-by: Markus Armbruster --- qapi/machine.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'qapi') 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 } } # ## -- cgit v1.2.3-55-g7522