[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 10/16] qapi: fix example of MEM_UNPLUG_ERROR event
From: |
Victor Toso |
Subject: |
[PATCH v1 10/16] qapi: fix example of MEM_UNPLUG_ERROR event |
Date: |
Tue, 30 Aug 2022 18:15:39 +0200 |
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 --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"
# },
--
2.37.2
- [PATCH v1 06/16] qapi: fix example of query-blockstats command, (continued)
[PATCH v1 14/16] qapi: fix example of query-migrate command, Victor Toso, 2022/08/30
[PATCH v1 10/16] qapi: fix example of MEM_UNPLUG_ERROR event,
Victor Toso <=
[PATCH v1 15/16] qapi: fix examples of events missing timestamp, Victor Toso, 2022/08/30
[PATCH v1 13/16] qapi: fix example of query-hotpluggable-cpus command, Victor Toso, 2022/08/30
[PATCH v1 16/16] RFC: add a generator for qapi's examples, Victor Toso, 2022/08/30