Re: [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2021-03-05 Thread Vladimir Sementsov-Ogievskiy
05.03.2021 16:41, Markus Armbruster wrote: Vladimir Sementsov-Ogievskiy writes: 02.03.2021 16:53, Markus Armbruster wrote: Andrey Shinkevich via writes: When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain unprocessed commands. It can happen with QMP capability OOB

Re: [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2021-03-05 Thread Markus Armbruster
Vladimir Sementsov-Ogievskiy writes: > 02.03.2021 16:53, Markus Armbruster wrote: >> Andrey Shinkevich via writes: >> >>> When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain >>> unprocessed commands. It can happen with QMP capability OOB enabled. >>> Let the dispatcher

Re: [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2021-03-02 Thread Vladimir Sementsov-Ogievskiy
02.03.2021 19:32, Denis V. Lunev wrote: On 3/2/21 6:25 PM, Vladimir Sementsov-Ogievskiy wrote: 02.03.2021 16:53, Markus Armbruster wrote: Andrey Shinkevich via writes: When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain unprocessed commands. It can happen with QMP

Re: [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2021-03-02 Thread Denis V. Lunev
On 3/2/21 6:25 PM, Vladimir Sementsov-Ogievskiy wrote: > 02.03.2021 16:53, Markus Armbruster wrote: >> Andrey Shinkevich via writes: >> >>> When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain >>> unprocessed commands. It can happen with QMP capability OOB enabled. >>> Let the

Re: [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2021-03-02 Thread Vladimir Sementsov-Ogievskiy
02.03.2021 16:53, Markus Armbruster wrote: Andrey Shinkevich via writes: When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain unprocessed commands. It can happen with QMP capability OOB enabled. Let the dispatcher complete handling requests rest in the monitor queue.

Re: [PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2021-03-02 Thread Markus Armbruster
Andrey Shinkevich via writes: > When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain > unprocessed commands. It can happen with QMP capability OOB enabled. > Let the dispatcher complete handling requests rest in the monitor > queue. > > Signed-off-by: Andrey Shinkevich > --- >

[PATCH v3 2/5] monitor: drain requests queue with 'channel closed' event

2020-11-27 Thread Andrey Shinkevich via
When CHR_EVENT_CLOSED comes, the QMP requests queue may still contain unprocessed commands. It can happen with QMP capability OOB enabled. Let the dispatcher complete handling requests rest in the monitor queue. Signed-off-by: Andrey Shinkevich --- monitor/qmp.c | 46