qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH v6 15/18] monitor: use qmp_dispatch()


From: Alberto Garcia
Subject: Re: [Qemu-devel] [PATCH v6 15/18] monitor: use qmp_dispatch()
Date: Tue, 20 Sep 2016 17:48:44 +0300
User-agent: NeoMutt/ (1.7.0)

On Mon, Sep 12, 2016 at 01:19:10PM +0400, Marc-André Lureau wrote:
> Replace the old manual dispatch and validation code by the generic one
> provided by qapi common code.
> 
> Note that it is now possible to call the following commands that used to
> be disabled by compile-time conditionals:
> - dump-skeys
> - query-spice
> - rtc-reset-reinjection
> - query-gic-capabilities
> 
> Their fallback functions return an appropriate "feature disabled" error.
> 
> Signed-off-by: Marc-André Lureau <address@hidden>

This patch breaks iotest 085 because the "missing parameter" error is
now different:

-{"error": {"class": "GenericError", "desc": "Parameter 'snapshot-file' is 
missing"}}
+{"error": {"class": "GenericError", "desc": "Invalid parameter type for 
'snapshot-file', expected: string"}}

I was thinking to update the expected output of the iotest, but I
guess it's better to return a more meaningful error message?

Berto



reply via email to

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