qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH for-2.12 1/8] qmp: fix qmp_capabilities error regression
Date: Mon, 26 Mar 2018 14:35:24 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0

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 'qmp_capabilities'"}}

While after cf869d5317 it becomes:

  {"execute": "query-cpus"}
  {"error": {"class": "CommandNotFound", "desc":
             "The command query-cpus has not been found"}}

Fix it back to the nicer one.

Fixes: cf869d5317 ("qmp: support out-of-band (oob) execution", 2018-03-19)
Reported-by: Marc-André Lureau <address@hidden>
Signed-off-by: Peter Xu <address@hidden>
---
  monitor.c | 23 ++++++++---------------
  1 file changed, 8 insertions(+), 15 deletions(-)


Reviewed-by: Eric Blake <address@hidden>

--
Eric Blake, Principal Software Engineer
Red Hat, Inc.           +1-919-301-3266
Virtualization:  qemu.org | libvirt.org



reply via email to

[Prev in Thread] Current Thread [Next in Thread]