mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-31 14:02:05 -06:00
qmp-commands: move 'ringbuf-write' doc to schema
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
This commit is contained in:
parent
90e365c054
commit
a4143a845a
2 changed files with 9 additions and 20 deletions
|
@ -334,26 +334,6 @@ Example:
|
||||||
|
|
||||||
Note: inject-nmi fails when the guest doesn't support injecting.
|
Note: inject-nmi fails when the guest doesn't support injecting.
|
||||||
|
|
||||||
ringbuf-write
|
|
||||||
-------------
|
|
||||||
|
|
||||||
Write to a ring buffer character device.
|
|
||||||
|
|
||||||
Arguments:
|
|
||||||
|
|
||||||
- "device": ring buffer character device name (json-string)
|
|
||||||
- "data": data to write (json-string)
|
|
||||||
- "format": data format (json-string, optional)
|
|
||||||
- Possible values: "utf8" (default), "base64"
|
|
||||||
|
|
||||||
Example:
|
|
||||||
|
|
||||||
-> { "execute": "ringbuf-write",
|
|
||||||
"arguments": { "device": "foo",
|
|
||||||
"data": "abcdefgh",
|
|
||||||
"format": "utf8" } }
|
|
||||||
<- { "return": {} }
|
|
||||||
|
|
||||||
ringbuf-read
|
ringbuf-read
|
||||||
-------------
|
-------------
|
||||||
|
|
||||||
|
|
|
@ -410,6 +410,15 @@
|
||||||
# Returns: Nothing on success
|
# Returns: Nothing on success
|
||||||
#
|
#
|
||||||
# Since: 1.4
|
# Since: 1.4
|
||||||
|
#
|
||||||
|
# Example:
|
||||||
|
#
|
||||||
|
# -> { "execute": "ringbuf-write",
|
||||||
|
# "arguments": { "device": "foo",
|
||||||
|
# "data": "abcdefgh",
|
||||||
|
# "format": "utf8" } }
|
||||||
|
# <- { "return": {} }
|
||||||
|
#
|
||||||
##
|
##
|
||||||
{ 'command': 'ringbuf-write',
|
{ 'command': 'ringbuf-write',
|
||||||
'data': {'device': 'str', 'data': 'str',
|
'data': {'device': 'str', 'data': 'str',
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue