Re: [PATCH 2/2] monitor: Add an input buffer for QMP reading

2020-01-22 Thread Markus Armbruster
Long delay, compliments of the season. My apologies! Yury Kotov writes: > The monitor_qmp_can_read (as a callback of qemu_chr_fe_set_handlers) > should return size of buffer which monitor_qmp_read can process. > Currently, monitor_can_read returns 1, because it guarantees that > only one QMP co

[PATCH 2/2] monitor: Add an input buffer for QMP reading

2019-12-19 Thread Yury Kotov
The monitor_qmp_can_read (as a callback of qemu_chr_fe_set_handlers) should return size of buffer which monitor_qmp_read can process. Currently, monitor_can_read returns 1, because it guarantees that only one QMP command can be handled at a time. Thus, for each QMP command, len(QMD) iterations of t