Skip to content

Move QOM, qdev, machine core and dump code

Markus Armbruster qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest17 patches 39 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/17MAINTAINERS: new maintainers for QOMMAINTAINERS+3 -24 replies
2/17Makefile: Don't add monitor/ twice to common-obj-yMakefile.objs+0 -11 reply
3/17hmp: Move hmp.h to include/monitor/include/monitor/hmp.h monitor/hmp-cmds.c monitor/misc.c +6 more+8 -82 replies
4/17qapi: Split qom.json and qdev.json off misc.jsonMAINTAINERS hw/block/xen-block.c hw/core/qdev.c +8 more+380 -3564 replies
5/17qom: Move QMP command handlers to qom/monitor/qmp-cmds.c qom/Makefile.objs qom/qom-qmp-cmds.c+324 -3031 reply
6/17qom: Move HMP command handlers to qom/include/monitor/hmp.h monitor/hmp-cmds.c qom/Makefile.objs +1 more+66 -503 replies
7/17MAINTAINERS: Merge sections CPU, NUMA into Machine coreMAINTAINERS+4 -124 replies
8/17qapi: Split machine.json off misc.jsonMAINTAINERS cpus.c include/hw/boards.h +12 more+711 -6951 reply
9/17hw/core: Move numa.c to hw/core/MAINTAINERS Makefile.target hw/core/Makefile.objs +1 more+4 -21 reply
10/17hw/core: Collect QMP command handlers in hw/core/MAINTAINERS cpus.c hw/core/Makefile.objs +6 more+332 -3201 reply
11/17hw/core: Collect HMP command handlers in hw/core/hw/core/Makefile.objs hw/core/machine-hmp-cmds.c include/monitor/hmp.h +2 more+168 -1412 replies
12/17qapi: Split machine-target.json off target.json and misc.jsonMAINTAINERS qapi/Makefile.objs qapi/machine-target.json +8 more+326 -3223 replies
13/17qapi: Rename target.json to misc-target.jsonhw/ppc/spapr_rtc.c hw/s390x/s390-skeys.c hw/timer/mc146818rtc.c +5 more+8 -121 reply
14/17qapi: Split dump.json off misc.jsonMAINTAINERS dump.c include/sysemu/dump.h +5 more+207 -1962 replies
15/17dump: Move the code to dump/MAINTAINERS Makefile.target dump/Makefile.objs +3 more+4 -32 replies
16/17MAINTAINERS: Add Windows dump to section "Dump"MAINTAINERS+2 -13 replies
17/17dump: Move HMP command handlers to dump/Makefile.objs dump/Makefile.objs dump/dump-hmp-cmds.c +1 more+90 -764 replies

Reviews trailers per patch

All 17 patches have a Reviewed-by or Acked-by.

PatchMarc-André LureauDaniel P. BerrangéDr. David Alan Gilbert
1/17R-b
2/17R-b
3/17R-b R-b
4/17R-b R-b
5/17R-b
6/17R-b R-b
7/17R-b
8/17R-b
9/17R-b
10/17R-b
11/17R-b R-b
12/17R-b
13/17R-b
14/17R-b R-b
15/17R-b R-b
16/17R-b R-b
17/17R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 00/17] Move QOM, qdev, machine core and dump code

Split qom.json, qdev.json, machine.json, machine-target.json and dump.json off misc.json, so MAINTAINERS can cover them properly.

Move their QMP and HMP code similarly.

Move some code out of the the tree's root directory to better places.

Markus Armbruster (16):
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                               |   29 +-
 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            |    3 +
 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                            |    2 +-
 qom/Makefile.objs                         |    1 +
 qom/qom-hmp-cmds.c                        |   62 +
 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 -
 55 files changed, 2629 insertions(+), 2492 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