Re: [Qemu-devel] [RFC v2 15/22] monitor: send event when request queue full

2017-10-19 Thread Peter Xu
On Thu, Oct 19, 2017 at 03:11:50PM +0200, Stefan Hajnoczi wrote: > On Thu, Oct 19, 2017 at 03:16:11PM +0800, Peter Xu wrote: > > On Wed, Oct 18, 2017 at 05:28:04PM +0200, Stefan Hajnoczi wrote: > > > On Mon, Oct 16, 2017 at 04:11:58PM +0800, Peter Xu wrote: > > > > On Thu, Oct 12, 2017 at 01:56:20P

Re: [Qemu-devel] [RFC v2 15/22] monitor: send event when request queue full

2017-10-19 Thread Stefan Hajnoczi
On Thu, Oct 19, 2017 at 03:16:11PM +0800, Peter Xu wrote: > On Wed, Oct 18, 2017 at 05:28:04PM +0200, Stefan Hajnoczi wrote: > > On Mon, Oct 16, 2017 at 04:11:58PM +0800, Peter Xu wrote: > > > On Thu, Oct 12, 2017 at 01:56:20PM +0100, Stefan Hajnoczi wrote: > > > > On Fri, Sep 29, 2017 at 11:38:37A

Re: [Qemu-devel] [RFC v2 15/22] monitor: send event when request queue full

2017-10-19 Thread Peter Xu
On Wed, Oct 18, 2017 at 05:28:04PM +0200, Stefan Hajnoczi wrote: > On Mon, Oct 16, 2017 at 04:11:58PM +0800, Peter Xu wrote: > > On Thu, Oct 12, 2017 at 01:56:20PM +0100, Stefan Hajnoczi wrote: > > > On Fri, Sep 29, 2017 at 11:38:37AM +0800, Peter Xu wrote: > > > > Set maximum QMP request queue len

Re: [Qemu-devel] [RFC v2 15/22] monitor: send event when request queue full

2017-10-18 Thread Stefan Hajnoczi
On Mon, Oct 16, 2017 at 04:11:58PM +0800, Peter Xu wrote: > On Thu, Oct 12, 2017 at 01:56:20PM +0100, Stefan Hajnoczi wrote: > > On Fri, Sep 29, 2017 at 11:38:37AM +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 v2 15/22] monitor: send event when request queue full

2017-10-16 Thread Peter Xu
On Thu, Oct 12, 2017 at 01:56:20PM +0100, Stefan Hajnoczi wrote: > On Fri, Sep 29, 2017 at 11:38:37AM +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 v2 15/22] monitor: send event when request queue full

2017-10-12 Thread Stefan Hajnoczi
On Fri, Sep 29, 2017 at 11:38:37AM +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. > > Signed-off-by: Peter Xu > --- > monitor.c |