qapi: fix examples: replay-break and replay-seek
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>
This commit is contained in:
parent
9a9d101c5b
commit
227a762bef
|
@ -81,7 +81,7 @@
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
# -> { "execute": "replay-break", "data": { "icount": 220414 } }
|
# -> { "execute": "replay-break", "arguments": { "icount": 220414 } }
|
||||||
#
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'replay-break', 'data': { 'icount': 'int' } }
|
{ 'command': 'replay-break', 'data': { 'icount': 'int' } }
|
||||||
|
@ -117,6 +117,6 @@
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
#
|
#
|
||||||
# -> { "execute": "replay-seek", "data": { "icount": 220414 } }
|
# -> { "execute": "replay-seek", "arguments": { "icount": 220414 } }
|
||||||
##
|
##
|
||||||
{ 'command': 'replay-seek', 'data': { 'icount': 'int' } }
|
{ 'command': 'replay-seek', 'data': { 'icount': 'int' } }
|
||||||
|
|
Loading…
Reference in New Issue