mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
hmp: make memchar-read escape ASCII control chars except \n and \t
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
de1cc36e10
commit
543f34126b
2 changed files with 16 additions and 1 deletions
|
@ -869,6 +869,8 @@ STEXI
|
|||
@findex ringbuf_read
|
||||
Read and print up to @var{size} bytes from ring buffer character
|
||||
device @var{device}.
|
||||
Certain non-printable characters are printed \uXXXX, where XXXX is the
|
||||
character code in hexadecimal. Character \ is printed \\.
|
||||
Bug: can screw up when the buffer contains invalid UTF-8 sequences,
|
||||
NUL characters, after the ring buffer lost data, and when reading
|
||||
stops because the size limit is reached.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue