Skip to contentSkip to conversation

Monitor patches for 2019-07-02

GIT PULL Applied Markus Armbruster 2 participants 3 messages Jul 2, 2019 – Jul 3, 2019

lore
Share & tools
lore
#0 lore raw

The following changes since commit 7d0e02405fc02a181319b1ab8681d2f72246b7c6:

Merge remote-tracking branch 'remotes/vivier2/tags/trivial-patches-pull-request' into staging (2019-07-01 17:40:32 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-monitor-2019-07-02-v2

for you to fetch changes up to 2608b3df8f9cd91baee9d04e246a0255dbb612db:

dump: Move HMP command handlers to dump/ (2019-07-02 13:37:00 +0200)

----------------------------------------------------------------
Monitor patches for 2019-07-02

v2: Correct PATCH 7

----------------------------------------------------------------
Markus Armbruster (17):
MAINTAINERS: Make section "QOM" cover qdev as well
Makefile: Don't add monitor/ twice to common-obj-y
hmp: Move hmp.h to include/monitor/
qapi: Split qom.json and qdev.json off misc.json
qom: Move QMP command handlers to qom/
qom: Move HMP command handlers to qom/
MAINTAINERS: Merge sections CPU, NUMA into Machine core
qapi: Split machine.json off misc.json
hw/core: Move numa.c to hw/core/
hw/core: Collect QMP command handlers in hw/core/ hw/core: Collect HMP command handlers in hw/core/
qapi: Split machine-target.json off target.json and misc.json
qapi: Rename target.json to misc-target.json
qapi: Split dump.json off misc.json
dump: Move the code to dump/
MAINTAINERS: Add Windows dump to section "Dump"
dump: Move HMP command handlers to dump/

Paolo Bonzini (1):
MAINTAINERS: new maintainers for QOM

 MAINTAINERS                               |   36 +-
 Makefile.objs                             |    2 +-
 Makefile.target                           |    5 +-
 cpus.c                                    |  187 -----
 dump/Makefile.objs                        |    3 +
 dump/dump-hmp-cmds.c                      |   88 ++
 dump.c => dump/dump.c                     |    4 +-
 win_dump.c => dump/win_dump.c             |    0
 win_dump.h => dump/win_dump.h             |    0
 hw/block/xen-block.c                      |    2 +-
 hw/core/Makefile.objs                     |    4 +
 hw/core/machine-hmp-cmds.c                |  164 ++++
 hw/core/machine-qmp-cmds.c                |  328 ++++++++
 numa.c => hw/core/numa.c                  |   64 +-
 hw/core/qdev.c                            |    2 +-
 hw/ppc/spapr_rtc.c                        |    2 +-
 hw/s390x/s390-skeys.c                     |    2 +-
 hw/timer/mc146818rtc.c                    |    4 +-
 include/hw/boards.h                       |    1 +
 hmp.h => include/monitor/hmp.h            |    4 +
 include/monitor/qdev.h                    |    1 -
 include/sysemu/dump.h                     |    2 +-
 include/sysemu/hostmem.h                  |    2 +-
 include/sysemu/numa.h                     |    2 +
 monitor/hmp-cmds.c                        |  238 +-----
 monitor/misc.c                            |   47 +-
 monitor/qmp-cmds.c                        |  315 +------
 qapi/Makefile.objs                        |    7 +-
 qapi/dump.json                            |  200 +++++
 qapi/{target.json => machine-target.json} |  304 ++-----
 qapi/machine.json                         |  697 +++++++++++++++
 qapi/misc-target.json                     |  268 ++++++
 qapi/misc.json                            | 1304 -----------------------------
 qapi/qapi-schema.json                     |    7 +-
 qapi/qdev.json                            |  125 +++
 qapi/qom.json                             |  244 ++++++
 qdev-monitor.c                            |   59 +-
 qom/Makefile.objs                         |    1 +
 qom/qom-hmp-cmds.c                        |  120 +++
 qom/qom-qmp-cmds.c                        |  323 +++++++
 target/arm/helper.c                       |    2 +-
 target/arm/monitor.c                      |    2 +-
 target/i386/cpu.c                         |    4 +-
 target/i386/monitor.c                     |    2 +-
 target/i386/sev_i386.h                    |    2 +-
 target/mips/helper.c                      |    2 +-
 target/nios2/monitor.c                    |    2 +-
 target/ppc/monitor.c                      |    2 +-
 target/ppc/translate_init.inc.c           |    2 +-
 target/s390x/cpu.c                        |    2 +-
 target/s390x/cpu_models.c                 |    2 +-
 target/s390x/sigp.c                       |    2 +-
 target/sh4/monitor.c                      |    2 +-
 target/sparc/monitor.c                    |    2 +-
 target/xtensa/monitor.c                   |    2 +-
 vl.c                                      |   45 -
 56 files changed, 2695 insertions(+), 2550 deletions(-)
 create mode 100644 dump/Makefile.objs
 create mode 100644 dump/dump-hmp-cmds.c
 rename dump.c => dump/dump.c (99%)
 rename win_dump.c => dump/win_dump.c (100%)
 rename win_dump.h => dump/win_dump.h (100%)
 create mode 100644 hw/core/machine-hmp-cmds.c
 create mode 100644 hw/core/machine-qmp-cmds.c
 rename numa.c => hw/core/numa.c (90%)
 rename hmp.h => include/monitor/hmp.h (98%)
 create mode 100644 qapi/dump.json
 rename qapi/{target.json => machine-target.json} (61%)
 create mode 100644 qapi/machine.json
 create mode 100644 qapi/misc-target.json
 create mode 100644 qapi/qdev.json
 create mode 100644 qapi/qom.json
 create mode 100644 qom/qom-hmp-cmds.c
 create mode 100644 qom/qom-qmp-cmds.c
Signature · 1 line
2.21.0
#1 lore raw

[Qemu-devel] [PULL v2 07/18] qom: Move HMP command handlers to qom/

Move the HMP command handlers related to QOM handlers from monitor/hmp-cmds.c and qdev-monitor.c to new qom/qom-hmp-cmds.c, where they are covered by MAINTAINERS section QOM.

Cc Paolo Bonzini <[email protected]>
Cc "Daniel P. Berrange" <[email protected]>
Cc Eduardo Habkost <[email protected]>
Cc "Dr. David Alan Gilbert" <[email protected]>

Message-Id: <[email protected]>

[Also move hmp_info_qom_tree(), tweak commit message accordingly]
---
 include/monitor/hmp.h  |   3 ++
 include/monitor/qdev.h |   1 -
 monitor/hmp-cmds.c     |  50 +----------------
 qdev-monitor.c         |  57 --------------------
 qom/Makefile.objs      |   2 +-
 qom/qom-hmp-cmds.c     | 120 +++++++++++++++++++++++++++++++++++++++++
 6 files changed, 125 insertions(+), 108 deletions(-)
 create mode 100644 qom/qom-hmp-cmds.c
include/monitor/hmp.h +3 -0
index 1d095d5837..b36ebccd29 100644
@@ -16,6 +16,8 @@
 
 #include "qemu/readline.h"
 
+void hmp_handle_error(Monitor *mon, Error **errp);
+
 void hmp_info_name(Monitor *mon, const QDict *qdict);
 void hmp_info_version(Monitor *mon, const QDict *qdict);
 void hmp_info_kvm(Monitor *mon, const QDict *qdict);
@@ -118,6 +120,7 @@ void hmp_info_memdev(Monitor *mon, const QDict *qdict);
 void hmp_info_memory_devices(Monitor *mon, const QDict *qdict);
 void hmp_qom_list(Monitor *mon, const QDict *qdict);
 void hmp_qom_set(Monitor *mon, const QDict *qdict);
+void hmp_info_qom_tree(Monitor *mon, const QDict *dict);
 void object_add_completion(ReadLineState *rs, int nb_args, const char *str);
 void object_del_completion(ReadLineState *rs, int nb_args, const char *str);
 void device_add_completion(ReadLineState *rs, int nb_args, const char *str);
include/monitor/qdev.h +0 -1
index 0ff3331284..084799e4d9 100644
@@ -7,7 +7,6 @@
 
 void hmp_info_qtree(Monitor *mon, const QDict *qdict);
 void hmp_info_qdm(Monitor *mon, const QDict *qdict);
-void hmp_info_qom_tree(Monitor *mon, const QDict *dict);
 void qmp_device_add(QDict *qdict, QObject **ret_data, Error **errp);
 
 int qdev_device_help(QemuOpts *opts);
monitor/hmp-cmds.c +1 -49

62 lines not on this page · raw message

qdev-monitor.c +0 -57

63 lines not on this page · raw message

qom/Makefile.objs +1 -1
index 5fb43b842c..aae478fc21 100644
@@ -2,4 +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
+common-obj-$(CONFIG_SOFTMMU) += qom-hmp-cmds.o qom-qmp-cmds.o
qom/qom-hmp-cmds.c new file +120 -0

120 lines not on this page · raw message

Signature · 1 line
2.21.0
#2 lore raw
In reply to Markus Armbruster
Quoted 9 lines · Markus Armbruster

The following changes since commit 7d0e02405fc02a181319b1ab8681d2f72246b7c6:

Merge remote-tracking branch 'remotes/vivier2/tags/trivial-patches-pull-request' into staging (2019-07-01 17:40:32 +0100)

are available in the Git repository at:

git://repo.or.cz/qemu/armbru.git tags/pull-monitor-2019-07-02-v2

Quoted 8 lines

for you to fetch changes up to 2608b3df8f9cd91baee9d04e246a0255dbb612db:

dump: Move HMP command handlers to dump/ (2019-07-02 13:37:00 +0200)

----------------------------------------------------------------
Monitor patches for 2019-07-02

v2: Correct PATCH 7

Applied, thanks.

Please update the changelog at https://wiki.qemu.org/ChangeLog/4.1
for any user-visible changes.

-- PMM