[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v1 2/9] qapi: fix examples: replay-break and replay-seek
From: |
Victor Toso |
Subject: |
[PATCH v1 2/9] qapi: fix examples: replay-break and replay-seek |
Date: |
Thu, 31 Mar 2022 21:06:26 +0200 |
Both examples outputs are using @data member for the arguments. This
is wrong. The expected member for the QMP is @arguments. Fix it.
Signed-off-by: Victor Toso <victortoso@redhat.com>
---
qapi/replay.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/qapi/replay.json b/qapi/replay.json
index b4d1ba253b..351898f60d 100644
--- a/qapi/replay.json
+++ b/qapi/replay.json
@@ -81,7 +81,7 @@
#
# Example:
#
-# -> { "execute": "replay-break", "data": { "icount": 220414 } }
+# -> { "execute": "replay-break", "arguments": { "icount": 220414 } }
#
##
{ 'command': 'replay-break', 'data': { 'icount': 'int' } }
@@ -117,6 +117,6 @@
#
# Example:
#
-# -> { "execute": "replay-seek", "data": { "icount": 220414 } }
+# -> { "execute": "replay-seek", "arguments": { "icount": 220414 } }
##
{ 'command': 'replay-seek', 'data': { 'icount': 'int' } }
--
2.35.1
- [PATCH v1 0/9] Fix some qapi examples, Victor Toso, 2022/03/31
- [PATCH v1 1/9] qapi: fix example of netdev_add command, Victor Toso, 2022/03/31
- [PATCH v1 4/9] qapi: fix example of query-spice command, Victor Toso, 2022/03/31
- [PATCH v1 3/9] qapi: fix example of query-named-block-nodes command, Victor Toso, 2022/03/31
- [PATCH v1 2/9] qapi: fix examples: replay-break and replay-seek,
Victor Toso <=
- [PATCH v1 6/9] qapi: fix example of query-colo-status command, Victor Toso, 2022/03/31
- [PATCH v1 7/9] qapi: fix example of trace-event-get-state command, Victor Toso, 2022/03/31
- [PATCH v1 5/9] qapi: fix example of query-vnc command, Victor Toso, 2022/03/31
- [PATCH v1 8/9] qapi: fix example of query-cpus-fast command, Victor Toso, 2022/03/31
- [PATCH v1 9/9] qapi: fix example of query-memdev command, Victor Toso, 2022/03/31