[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
- [Qemu-devel] [PATCH v6 08/18] qapi: export the marshallers, (continued)
- [Qemu-devel] [PATCH v6 08/18] qapi: export the marshallers, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 10/18] monitor: implement 'qmp_query_commands' without qmp_cmds, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 09/18] monitor: use qmp_find_command() (using generated qapi code), Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 12/18] qapi: remove the "middle" mode, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 11/18] monitor: remove mhandler.cmd_new, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 13/18] qapi: check invalid arguments on no-args commands, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 14/18] tests: add a test to check invalid args, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 16/18] build-sys: remove qmp-commands-old.h, Marc-André Lureau, 2016/09/12
- [Qemu-devel] [PATCH v6 15/18] monitor: use qmp_dispatch(), Marc-André Lureau, 2016/09/12
- Re: [Qemu-devel] [PATCH v6 15/18] monitor: use qmp_dispatch(),
Alberto Garcia <=
[Qemu-devel] [PATCH v6 17/18] qmp-commands.hx: fix some styling, Marc-André Lureau, 2016/09/12
[Qemu-devel] [PATCH v6 18/18] Replace qmp-commands.hx by docs/qmp-commands.txt, Marc-André Lureau, 2016/09/12