Re: [libvirt] [RFC PATCH 18/19] qapi: Include a warning in the response to a deprecated command

2019-10-24 Thread Markus Armbruster
Daniel P. Berrangé writes: > On Thu, Oct 24, 2019 at 02:34:57PM +0200, Markus Armbruster wrote: >> Looks like this >> >> ---> {"execute": "query-cpus"} >> <--- {"return": [...], "warnings": [{"class": "CommandNotFound", "desc": >> "command is deprecated"}]} >> >> Management application

Re: [libvirt] [RFC PATCH 18/19] qapi: Include a warning in the response to a deprecated command

2019-10-24 Thread Daniel P . Berrangé
On Thu, Oct 24, 2019 at 02:34:57PM +0200, Markus Armbruster wrote: > Looks like this > > ---> {"execute": "query-cpus"} > <--- {"return": [...], "warnings": [{"class": "CommandNotFound", "desc": > "command is deprecated"}]} > > Management applications may want to log such warnings. > >

[RFC PATCH 18/19] qapi: Include a warning in the response to a deprecated command

2019-10-24 Thread Markus Armbruster
Looks like this ---> {"execute": "query-cpus"} <--- {"return": [...], "warnings": [{"class": "CommandNotFound", "desc": "command is deprecated"}]} Management applications may want to log such warnings. This commit is not for merging as is, because * docs/interop/qmp-spec.txt needs an u