[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 11/14] qapi: fix example of MEMORY_FAILURE
From: |
Victor Toso |
Subject: |
[PATCH 11/14] qapi: fix example of MEMORY_FAILURE |
Date: |
Thu, 24 Mar 2022 18:50:12 +0100 |
Minor issues found and fixed with the example:
* The JSON object of EVENT was not closed
* Missing timestamp
* Flags are optional but if defined then all members should be
include so we add "recursive" member.
* Changed string from '' to "" in action-required member.
Signed-off-by: Victor Toso <victortoso@redhat.com>
---
qapi/run-state.json | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/qapi/run-state.json b/qapi/run-state.json
index f87b9378ac..ee21decdec 100644
--- a/qapi/run-state.json
+++ b/qapi/run-state.json
@@ -571,7 +571,9 @@
# <- { "event": "MEMORY_FAILURE",
# "data": { "recipient": "hypervisor",
# "action": "fatal",
-# "flags": { 'action-required': false } }
+# "flags": { "action-required": false,
+# "recursive": false } },
+# "timestamp": { "seconds": 1267061043, "microseconds": 959568 } }
#
##
{ 'event': 'MEMORY_FAILURE',
--
2.35.1
- Re: [PATCH 04/14] qapi: fix example of BLOCK_JOB_PENDING event, (continued)
- [PATCH 09/14] qapi: run-state examples: add missing member, Victor Toso, 2022/03/24
- [PATCH 03/14] qapi: fix example of BLOCK_IO_ERROR event, Victor Toso, 2022/03/24
- [PATCH 07/14] qapi: fix example of UNPLUG_PRIMARY event, Victor Toso, 2022/03/24
- [PATCH 13/14] qapi: fix example of ACPI_DEVICE_OST event, Victor Toso, 2022/03/24
- [PATCH 11/14] qapi: fix example of MEMORY_FAILURE,
Victor Toso <=
- [PATCH 06/14] qapi: fix example of MEMORY_DEVICE_SIZE_CHANGE event, Victor Toso, 2022/03/24
- [PATCH 10/14] qapi: run-state examples: add missing timestamp, Victor Toso, 2022/03/24
- [PATCH 05/14] qapi: fix example of DUMP_COMPLETED event, Victor Toso, 2022/03/24