]> git.ipfire.org Git - thirdparty/qemu.git/commit
qmp: constify QmpCommand and list
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Mon, 16 Mar 2020 17:18:24 +0000 (18:18 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 17 Mar 2020 20:43:12 +0000 (21:43 +0100)
commitf0ccc00be16e6f4c925f90305e2d4ed9dd11c8fd
treef86a8df637eb568c4ee834292840363231c3f197
parentdf4097aeaf71e1ff0574222760821467a7c86c0f
qmp: constify QmpCommand and list

Since 0b69f6f72ce47a37a749b056b6d5ec64c61f11e8 "qapi: remove
qmp_unregister_command()", the command list can be declared const.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Damien Hedde <damien.hedde@greensocs.com>
Message-Id: <20200316171824.2319695-1-marcandre.lureau@redhat.com>
[Rebased]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
include/qapi/qmp/dispatch.h
monitor/monitor-internal.h
monitor/qmp-cmds-control.c
qapi/qmp-dispatch.c
qapi/qmp-registry.c
qga/commands.c
qga/main.c