diff mbox series

[v2,07/10] qapi: fix example of MEM_UNPLUG_ERROR event

Message ID 20220901085840.22520-8-victortoso@redhat.com (mailing list archive)
State New, archived
Headers show
Series qapi examples fixes, simplified version | expand

Commit Message

Victor Toso Sept. 1, 2022, 8:58 a.m. UTC
Example output was missing ',' delimiter. Fix it.

Problem was noticed when trying to load the example into python's json
library.

Signed-off-by: Victor Toso <victortoso@redhat.com>
---
 qapi/machine.json | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/qapi/machine.json b/qapi/machine.json
index 5f1f50d3ed..4782eea2c3 100644
--- a/qapi/machine.json
+++ b/qapi/machine.json
@@ -1416,7 +1416,7 @@ 
 #
 # Example:
 #
-# <- { "event": "MEM_UNPLUG_ERROR"
+# <- { "event": "MEM_UNPLUG_ERROR",
 #      "data": { "device": "dimm1",
 #                "msg": "acpi: device unplug for unsupported device"
 #      },