Re: [Qemu-devel] [RFC v5 17/26] qmp: add new event "request-dropped"

2017-12-15 Thread Peter Xu
On Thu, Dec 14, 2017 at 11:16:02AM +, Stefan Hajnoczi wrote: > On Tue, Dec 05, 2017 at 01:51:51PM +0800, Peter Xu wrote: > > +## > > +# @RequestDropReason: > > +# > > +# Reasons that caused one command to be dropped. > > +# > > +# @queue-full: the queue of request is full. > > +# > > +# Since:

Re: [Qemu-devel] [RFC v5 17/26] qmp: add new event "request-dropped"

2017-12-14 Thread Stefan Hajnoczi
On Tue, Dec 05, 2017 at 01:51:51PM +0800, Peter Xu wrote: > +## > +# @RequestDropReason: > +# > +# Reasons that caused one command to be dropped. > +# > +# @queue-full: the queue of request is full. Please add: This can only occur when the client sends a new non-oob command before the

Re: [Qemu-devel] [RFC v5 17/26] qmp: add new event "request-dropped"

2017-12-14 Thread Stefan Hajnoczi
On Tue, Dec 05, 2017 at 01:51:51PM +0800, Peter Xu wrote: > +## > +# @RequestDropReason: > +# > +# Reasons that caused one command to be dropped. > +# > +# @queue-full: the queue of request is full. > +# > +# Since: 2.12 > +## > +{ 'enum': 'RequestDropReason', qapi-schema.json calls them

[Qemu-devel] [RFC v5 17/26] qmp: add new event "request-dropped"

2017-12-04 Thread Peter Xu
This event will be emitted if one QMP request is dropped. Along, declare an enum for the reasons. Signed-off-by: Peter Xu --- qapi-schema.json | 34 ++ 1 file changed, 34 insertions(+) diff --git a/qapi-schema.json b/qapi-schema.json index