[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 08/14] qapi: fix example of FAILOVER_NEGOTIATED event
From: |
Victor Toso |
Subject: |
[PATCH 08/14] qapi: fix example of FAILOVER_NEGOTIATED event |
Date: |
Thu, 24 Mar 2022 18:50:09 +0100 |
* Data is an object, not a string. It generates a qdict.
* Timestamp is not optional, let's add for completeness.
Signed-off-by: Victor Toso <victortoso@redhat.com>
---
qapi/net.json | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/qapi/net.json b/qapi/net.json
index 7fab2e7cd8..82c0d9e778 100644
--- a/qapi/net.json
+++ b/qapi/net.json
@@ -691,7 +691,8 @@
# Example:
#
# <- { "event": "FAILOVER_NEGOTIATED",
-# "data": "net1" }
+# "data": { "device-id": "net1" },
+# "timestamp": { "seconds": 1368697518, "microseconds": 326866 } }
#
##
{ 'event': 'FAILOVER_NEGOTIATED',
--
2.35.1