Re: [Qemu-devel] [RFC v5 18/26] monitor: send event when request queue full

2017-12-17 Thread Peter Xu
On Sat, Dec 16, 2017 at 09:28:36AM +, Stefan Hajnoczi wrote: > On Sat, Dec 16, 2017 at 03:17:06PM +0800, Peter Xu wrote: > > On Thu, Dec 14, 2017 at 11:41:36AM +, Stefan Hajnoczi wrote: > > > On Tue, Dec 05, 2017 at 01:51:52PM +0800, Peter Xu wrote: > > > > Set maximum QMP request queue len

Re: [Qemu-devel] [RFC v5 18/26] monitor: send event when request queue full

2017-12-16 Thread Stefan Hajnoczi
On Sat, Dec 16, 2017 at 03:17:06PM +0800, Peter Xu wrote: > On Thu, Dec 14, 2017 at 11:41:36AM +, Stefan Hajnoczi wrote: > > On Tue, Dec 05, 2017 at 01:51:52PM +0800, Peter Xu wrote: > > > Set maximum QMP request queue length to 8. If queue full, instead of > > > queue the command, we directly

Re: [Qemu-devel] [RFC v5 18/26] monitor: send event when request queue full

2017-12-15 Thread Peter Xu
On Thu, Dec 14, 2017 at 11:41:36AM +, Stefan Hajnoczi wrote: > On Tue, Dec 05, 2017 at 01:51:52PM +0800, Peter Xu wrote: > > Set maximum QMP request queue length to 8. If queue full, instead of > > queue the command, we directly return a "request-dropped" event, telling > > client that specifi

Re: [Qemu-devel] [RFC v5 18/26] monitor: send event when request queue full

2017-12-14 Thread Stefan Hajnoczi
On Tue, Dec 05, 2017 at 01:51:52PM +0800, Peter Xu wrote: > Set maximum QMP request queue length to 8. If queue full, instead of > queue the command, we directly return a "request-dropped" event, telling > client that specific command is dropped. > > Note that this flow control mechanism is only

[Qemu-devel] [RFC v5 18/26] monitor: send event when request queue full

2017-12-04 Thread Peter Xu
Set maximum QMP request queue length to 8. If queue full, instead of queue the command, we directly return a "request-dropped" event, telling client that specific command is dropped. Note that this flow control mechanism is only valid if OOB is enabled. If it's not, the effective queue length wil