Hi, This series is continuation of another one: [PATCH] monitor: Fix slow reading https://lists.gnu.org/archive/html/qemu-devel/2019-11/msg03722.html
Which also tried to read more than one byte from a stream at a time, but had some problems with OOB and HMP: https://lists.gnu.org/archive/html/qemu-devel/2019-11/msg05018.html This series is an attempt to fix problems described. Regards, Yury Yury Kotov (2): monitor: Split monitor_can_read for QMP and HMP monitor: Add an input buffer for QMP reading monitor/hmp.c | 7 +++++++ monitor/monitor-internal.h | 12 +++++++++++- monitor/monitor.c | 34 +++++++++++++++++++++++++++------- monitor/qmp.c | 26 +++++++++++++++++++++++--- 4 files changed, 68 insertions(+), 11 deletions(-) -- 2.24.1