Re: [Qemu-devel] [PATCH for-2.12 1/8] qmp: fix qmp_capabilities error regression

2018-03-26 Thread Eric Blake
On 03/26/2018 01:38 AM, Peter Xu wrote: When someone sents a command before QMP handshake, error was like this: s/sents/sends/ s/error was/the error used to be/ {"execute": "query-cpus"} {"error": {"class": "CommandNotFound", "desc": "Expecting capabilities negotiation with

Re: [Qemu-devel] [PATCH for-2.12 1/8] qmp: fix qmp_capabilities error regression

2018-03-26 Thread Marc-André Lureau
On Mon, Mar 26, 2018 at 8:38 AM, Peter Xu wrote: > When someone sents a command before QMP handshake, error was like this: > > {"execute": "query-cpus"} > {"error": {"class": "CommandNotFound", "desc": > "Expecting capabilities negotiation with 'qmp_capabilities'"}} > > While after c

[Qemu-devel] [PATCH for-2.12 1/8] qmp: fix qmp_capabilities error regression

2018-03-25 Thread Peter Xu
When someone sents a command before QMP handshake, error was like this: {"execute": "query-cpus"} {"error": {"class": "CommandNotFound", "desc": "Expecting capabilities negotiation with 'qmp_capabilities'"}} While after cf869d5317 it becomes: {"execute": "query-cpus"} {"error": {