[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 02/10] qapi: fix examples: replay-break and replay-seek
From: |
Markus Armbruster |
Subject: |
[PULL 02/10] qapi: fix examples: replay-break and replay-seek |
Date: |
Tue, 5 Apr 2022 12:34:47 +0200 |
From: Victor Toso <victortoso@redhat.com>
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>
Message-Id: <20220331190633.121077-3-victortoso@redhat.com>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Signed-off-by: Markus Armbruster <armbru@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
- [PULL 00/10] QAPI patches patches for 2022-04-05, Markus Armbruster, 2022/04/05
- [PULL 05/10] qapi: fix example of query-vnc command, Markus Armbruster, 2022/04/05
- [PULL 01/10] qapi: fix example of netdev_add command, Markus Armbruster, 2022/04/05
- [PULL 09/10] qapi: fix example of query-memdev command, Markus Armbruster, 2022/04/05
- [PULL 10/10] qapi: Fix calc-dirty-rate example, Markus Armbruster, 2022/04/05
- [PULL 04/10] qapi: fix example of query-spice command, Markus Armbruster, 2022/04/05
- [PULL 07/10] qapi: fix example of trace-event-get-state command, Markus Armbruster, 2022/04/05
- [PULL 08/10] qapi: fix example of query-cpus-fast command, Markus Armbruster, 2022/04/05
- [PULL 06/10] qapi: fix example of query-colo-status command, Markus Armbruster, 2022/04/05
- [PULL 03/10] qapi: fix example of query-named-block-nodes command, Markus Armbruster, 2022/04/05
- [PULL 02/10] qapi: fix examples: replay-break and replay-seek,
Markus Armbruster <=
- Re: [PULL 00/10] QAPI patches patches for 2022-04-05, Peter Maydell, 2022/04/05