[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 03/12] monitor: register gen:false commands m
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 03/12] monitor: register gen:false commands manually |
Date: |
Thu, 21 Jul 2016 14:50:13 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
On 07/21/2016 08:00 AM, address@hidden wrote:
> From: Marc-André Lureau <address@hidden>
>
> Since a few commands are using 'gen': false, they are not registered
> automatically by the generator. Register manually instead.
>
> This is in preparation for removal of qapi 'middle' mode generation.
>
> Signed-off-by: Marc-André Lureau <address@hidden>
> Reviewed-by: Eric Blake <address@hidden>
> ---
> monitor.c | 13 +++++++++++++
> 1 file changed, 13 insertions(+)
>
> +static void qmp_init_marshal(void)
> +{
> + qmp_register_command("query-qmp-schema", qmp_query_qmp_schema,
> + QCO_NO_OPTIONS);
> + qmp_register_command("device_add", qmp_device_add,
> + QCO_NO_OPTIONS);
> + qmp_register_command("netdev_add", qmp_netdev_add,
> + QCO_NO_OPTIONS);
Of course, if my netdev_add patch goes in first (currently on Markus'
qapi-not-next branch, because we decided it was too risky for 2.7 hard
freeze), then this last line is not needed.
R-b still stands.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 00/12] qapi: remove the 'middle' mode, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 01/12] qapi-schema: use generated marshaller for 'qmp_capabilities', marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 02/12] qapi-schema: add 'device_add', marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 04/12] monitor: remove usage of generated marshal functions, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 03/12] monitor: register gen:false commands manually, marcandre . lureau, 2016/07/21
- Re: [Qemu-devel] [PATCH v2 03/12] monitor: register gen:false commands manually,
Eric Blake <=
- [Qemu-devel] [PATCH v2 05/12] monitor: register the qapi generated commands, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 07/12] monitor: implement 'qmp_query_commands' without qmp_cmds, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 06/12] monitor: remove mhandler.cmd_new, marcandre . lureau, 2016/07/21
- [Qemu-devel] [PATCH v2 09/12] qapi: remove the "middle" mode, marcandre . lureau, 2016/07/21