Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-03-08 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Fri, Feb 22, 2019 at 03:32:54PM +, Stefan Hajnoczi wrote: >> QMP clients can usually detect the presence of features via schema >> introspection. There are rare features that do not involve schema >> changes and are therefore impossible to detect with schema >> i

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-03-08 Thread Stefan Hajnoczi
On Fri, Feb 22, 2019 at 03:32:54PM +, Stefan Hajnoczi wrote: > QMP clients can usually detect the presence of features via schema > introspection. There are rare features that do not involve schema > changes and are therefore impossible to detect with schema > introspection. > > This patch ad

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-27 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Tue, Feb 26, 2019 at 10:09:19AM +0100, Markus Armbruster wrote: >> The migrate-with-cache-direct-off-on-linux case is compile-time static. > > By the way, I will change "migrate-with-cache-direct-off-on-linux" to > "migrate-with-cache-direct-off". Linux builds will r

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-27 Thread Stefan Hajnoczi
On Wed, Feb 27, 2019 at 03:25:25PM +, Daniel P. Berrangé wrote: > On Wed, Feb 27, 2019 at 03:15:35PM +, Stefan Hajnoczi wrote: > > On Tue, Feb 26, 2019 at 10:09:19AM +0100, Markus Armbruster wrote: > > > Stefan Hajnoczi writes: > > > > On Mon, Feb 25, 2019 at 10:28:46AM +0100, Peter Krempa

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-27 Thread Daniel P . Berrangé
On Wed, Feb 27, 2019 at 03:15:35PM +, Stefan Hajnoczi wrote: > On Tue, Feb 26, 2019 at 10:09:19AM +0100, Markus Armbruster wrote: > > Stefan Hajnoczi writes: > > > On Mon, Feb 25, 2019 at 10:28:46AM +0100, Peter Krempa wrote: > > >> On Mon, Feb 25, 2019 at 09:50:26 +0100, Markus Armbruster wro

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-27 Thread Stefan Hajnoczi
On Tue, Feb 26, 2019 at 10:09:19AM +0100, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > On Mon, Feb 25, 2019 at 10:28:46AM +0100, Peter Krempa wrote: > >> On Mon, Feb 25, 2019 at 09:50:26 +0100, Markus Armbruster wrote: > >> > Stefan Hajnoczi writes: > >> Other than the above, this is a

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-27 Thread Stefan Hajnoczi
On Tue, Feb 26, 2019 at 10:09:19AM +0100, Markus Armbruster wrote: > The migrate-with-cache-direct-off-on-linux case is compile-time static. By the way, I will change "migrate-with-cache-direct-off-on-linux" to "migrate-with-cache-direct-off". Linux builds will report this feature while non-Linux

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-26 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Mon, Feb 25, 2019 at 10:28:46AM +0100, Peter Krempa wrote: >> On Mon, Feb 25, 2019 at 09:50:26 +0100, Markus Armbruster wrote: >> > Stefan Hajnoczi writes: >> > >> > > QMP clients can usually detect the presence of features via schema >> > > introspection. There ar

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-25 Thread Peter Krempa
On Mon, Feb 25, 2019 at 17:40:01 +, Stefan Hajnoczi wrote: > On Mon, Feb 25, 2019 at 10:28:46AM +0100, Peter Krempa wrote: > > On Mon, Feb 25, 2019 at 09:50:26 +0100, Markus Armbruster wrote: [...] > > I'm slightly worried of misuse of the possibility to change the behavior > > on runtime. In

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-25 Thread Markus Armbruster
Stefan Hajnoczi writes: > On Mon, Feb 25, 2019 at 09:50:26AM +0100, Markus Armbruster wrote: >> Stefan Hajnoczi writes: >> >> > QMP clients can usually detect the presence of features via schema >> > introspection. There are rare features that do not involve schema >> > changes and are therefo

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-25 Thread Stefan Hajnoczi
On Mon, Feb 25, 2019 at 10:28:46AM +0100, Peter Krempa wrote: > On Mon, Feb 25, 2019 at 09:50:26 +0100, Markus Armbruster wrote: > > Stefan Hajnoczi writes: > > > > > QMP clients can usually detect the presence of features via schema > > > introspection. There are rare features that do not invol

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-25 Thread Stefan Hajnoczi
On Mon, Feb 25, 2019 at 09:50:26AM +0100, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > > QMP clients can usually detect the presence of features via schema > > introspection. There are rare features that do not involve schema > > changes and are therefore impossible to detect with sche

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-25 Thread Peter Krempa
On Mon, Feb 25, 2019 at 09:50:26 +0100, Markus Armbruster wrote: > Stefan Hajnoczi writes: > > > QMP clients can usually detect the presence of features via schema > > introspection. There are rare features that do not involve schema > > changes and are therefore impossible to detect with schema

Re: [Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-25 Thread Markus Armbruster
Stefan Hajnoczi writes: > QMP clients can usually detect the presence of features via schema > introspection. There are rare features that do not involve schema > changes and are therefore impossible to detect with schema > introspection. > > This patch adds the query-qemu-capabilities command.

[Qemu-devel] [PATCH] qmp: add query-qemu-capabilities

2019-02-22 Thread Stefan Hajnoczi
QMP clients can usually detect the presence of features via schema introspection. There are rare features that do not involve schema changes and are therefore impossible to detect with schema introspection. This patch adds the query-qemu-capabilities command. It returns a list of capabilities th