[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 0/5] Increase amount of data for monitor to read
From: |
Andrey Shinkevich |
Subject: |
[PATCH v3 0/5] Increase amount of data for monitor to read |
Date: |
Fri, 27 Nov 2020 16:35:41 +0300 |
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(-)
--
1.8.3.1
- [PATCH v3 0/5] Increase amount of data for monitor to read,
Andrey Shinkevich <=
- [PATCH v3 1/5] monitor: change function obsolete name in comments, Andrey Shinkevich, 2020/11/27
- [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event, Andrey Shinkevich, 2020/11/27
- [PATCH v3 3/5] monitor: let QMP monitor track JSON message content, Andrey Shinkevich, 2020/11/27
- [PATCH v3 4/5] iotests: 129 don't check backup "busy", Andrey Shinkevich, 2020/11/27
- [PATCH v3 5/5] monitor: increase amount of data for monitor to read, Andrey Shinkevich, 2020/11/27