]> git.ipfire.org Git - thirdparty/qemu.git/commit
qom: Move QMP command handlers to qom/
authorMarkus Armbruster <armbru@redhat.com>
Wed, 19 Jun 2019 20:10:38 +0000 (22:10 +0200)
committerMarkus Armbruster <armbru@redhat.com>
Tue, 2 Jul 2019 05:20:08 +0000 (07:20 +0200)
commitcfbe46fcc638a30f01882bf49e3a9325ac06308c
tree701b1031651ff7190c5d7aab00595ebd4c1309dd
parentc577ff624f7961e41eb194cec18055a2c3bb34c1
qom: Move QMP command handlers to qom/

The handlers for qapi/qom.json's QMP commands are in
monitor/qmp-cmds.c.  Move them to new qom/qom-qmp-cmds.c, where they
are covered by MAINTAINERS section QOM, just like qapi/qom.json.

Move along qmp_device_list_properties() even though it's specified in
qapi/qdev.json, because it's so similar to qmp_qom_list_properties().

Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: "Daniel P. Berrange" <berrange@redhat.com>
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20190619201050.19040-6-armbru@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
monitor/qmp-cmds.c
qom/Makefile.objs
qom/qom-qmp-cmds.c [new file with mode: 0644]