On Wed, Jun 19, 2019 at 10:10:38PM +0200, Markus Armbruster wrote: > 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 <pbonz...@redhat.com> > Cc: "Daniel P. Berrange" <berra...@redhat.com> > Cc: Eduardo Habkost <ehabk...@redhat.com> > Signed-off-by: Markus Armbruster <arm...@redhat.com> > --- > monitor/qmp-cmds.c | 303 ------------------------------------------ > qom/Makefile.objs | 1 + > qom/qom-qmp-cmds.c | 323 +++++++++++++++++++++++++++++++++++++++++++++ > 3 files changed, 324 insertions(+), 303 deletions(-) > create mode 100644 qom/qom-qmp-cmds.c
Reviewed-by: Daniel P. Berrangé <berra...@redhat.com> Regards, Daniel -- |: https://berrange.com -o- https://www.flickr.com/photos/dberrange :| |: https://libvirt.org -o- https://fstop138.berrange.com :| |: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|