aboutsummaryrefslogtreecommitdiff
path: root/qom/Makefile.objs
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2019-06-19 22:10:38 +0200
committerMarkus Armbruster <armbru@redhat.com>2019-07-02 07:20:08 +0200
commitcfbe46fcc638a30f01882bf49e3a9325ac06308c (patch)
tree701b1031651ff7190c5d7aab00595ebd4c1309dd /qom/Makefile.objs
parentc577ff624f7961e41eb194cec18055a2c3bb34c1 (diff)
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>
Diffstat (limited to 'qom/Makefile.objs')
-rw-r--r--qom/Makefile.objs1
1 files changed, 1 insertions, 0 deletions
diff --git a/qom/Makefile.objs b/qom/Makefile.objs
index 516349eec3..5fb43b842c 100644
--- a/qom/Makefile.objs
+++ b/qom/Makefile.objs
@@ -2,3 +2,4 @@ qom-obj-y = object.o container.o qom-qobject.o
qom-obj-y += object_interfaces.o
common-obj-y = cpu.o
+common-obj-$(CONFIG_SOFTMMU) += qom-qmp-cmds.o