Re: [Qemu-devel] [PATCH v7 10/23] qmp: introduce QMPCapability

2018-02-22 Thread Peter Xu
On Wed, Feb 21, 2018 at 04:17:18PM +, Stefan Hajnoczi wrote: > On Wed, Jan 24, 2018 at 01:39:44PM +0800, Peter Xu wrote: > > diff --git a/qapi-schema.json b/qapi-schema.json > > index 5c06745c79..2490d5188e 100644 > > --- a/qapi-schema.json > > +++ b/qapi-schema.json > > @@ -102,21 +102,47 @@ >

Re: [Qemu-devel] [PATCH v7 10/23] qmp: introduce QMPCapability

2018-02-21 Thread Stefan Hajnoczi
On Wed, Jan 24, 2018 at 01:39:44PM +0800, Peter Xu wrote: > diff --git a/qapi-schema.json b/qapi-schema.json > index 5c06745c79..2490d5188e 100644 > --- a/qapi-schema.json > +++ b/qapi-schema.json > @@ -102,21 +102,47 @@ > # > # Enable QMP capabilities. > # > -# Arguments: None. > +# Arguments:

[Qemu-devel] [PATCH v7 10/23] qmp: introduce QMPCapability

2018-01-23 Thread Peter Xu
There were no QMP capabilities defined. Define the first "oob" as capability to allow out-of-band messages. After this patch, we will allow QMP clients to enable QMP capabilities when sending the first "qmp_capabilities" command. Originally we are starting QMP session with no arguments like: