Re: [PATCH v2] monitor/qmp: resume monitor when clearing its queue

2019-11-15 Thread Wolfgang Bumiller
On Wed, Nov 13, 2019 at 05:45:57PM +0100, Markus Armbruster wrote: > Wolfgang Bumiller writes: > > > When a monitor's queue is filled up in handle_qmp_command() > > it gets suspended. It's the dispatcher bh's job currently to > > resume the monitor, which it does after processing an event > >

Re: [PATCH v2] monitor/qmp: resume monitor when clearing its queue

2019-11-13 Thread Markus Armbruster
Wolfgang Bumiller writes: > When a monitor's queue is filled up in handle_qmp_command() > it gets suspended. It's the dispatcher bh's job currently to > resume the monitor, which it does after processing an event > from the queue. However, it is possible for a > CHR_EVENT_CLOSED event to be

[PATCH v2] monitor/qmp: resume monitor when clearing its queue

2019-10-24 Thread Wolfgang Bumiller
When a monitor's queue is filled up in handle_qmp_command() it gets suspended. It's the dispatcher bh's job currently to resume the monitor, which it does after processing an event from the queue. However, it is possible for a CHR_EVENT_CLOSED event to be processed before before the bh is