mbox series

[v3,0/5] Increase amount of data for monitor to read

Message ID 1606484146-913540-1-git-send-email-andrey.shinkevich@virtuozzo.com (mailing list archive)
Headers show
Series Increase amount of data for monitor to read | expand

Message

Andrey Shinkevich Nov. 27, 2020, 1:35 p.m. UTC
The subject was discussed here:
https://lists.gnu.org/archive/html/qemu-devel/2017-05/msg00206.html
https://patchew.org/QEMU/20190610105906.28524-1-dplotnikov@virtuozzo.com/#
Message-ID: <31dd78ba-bd64-2ed6-3c8f-eed4e904d14c@virtuozzo.com>
and v2:
Message-Id: <1606146274-246154-1-git-send-email-andrey.shinkevich@virtuozzo.com>

This series is a solution for the issue with overflow of the monitor queue
with QMP requests if we keep the maximum queue length unchanged (=8).

v3:
  01: New
  02: New
  03: The additional little JSON parser removed and the resources of the
      existing JSON parser were used to track the end of a QMP command.
  04: The amount of read input data increases only.

Andrey Shinkevich (4):
  monitor: change function obsolete name in comments
  monitor: drain requests queue with 'channel closed' event
  monitor: let QMP monitor track JSON message content
  monitor: increase amount of data for monitor to read

Vladimir Sementsov-Ogievskiy (1):
  iotests: 129 don't check backup "busy"

 include/qapi/qmp/json-parser.h |  5 ++--
 monitor/monitor.c              |  2 +-
 monitor/qmp.c                  | 66 ++++++++++++++++++++++++------------------
 qga/main.c                     |  2 +-
 qobject/json-lexer.c           | 30 +++++++++++++------
 qobject/json-parser-int.h      |  8 +++--
 qobject/json-streamer.c        | 15 +++++-----
 qobject/qjson.c                |  2 +-
 tests/qemu-iotests/129         |  1 -
 tests/qtest/libqtest.c         |  2 +-
 10 files changed, 79 insertions(+), 54 deletions(-)