Skip to content

monitor/hmp: Reduce target-specific definitions

Philippe Mathieu-Daudé kvm qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest6 patches 18 repliesIn review
  2. v59 patches 3 repliesSuperseded
  3. v49 patches 2 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v38 patches1 replySuperseded
v28 patches7 repliesSuperseded
v12 patches5 repliesSuperseded

Patches in v6 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6target/sparc/monitor: Dump all registers as 32-bittarget/sparc/monitor.c+7 -73 replies
2/6monitor: Remove MonitorDef::type field and MD_TLONG / MD_I32include/monitor/hmp-target.h monitor/hmp-target.c target/i386/monitor.c +2 more+21 -353 replies
3/6monitor: Have MonitorDef::get_value() always return int64_t typeinclude/monitor/hmp-target.h monitor/hmp-target.c target/i386/monitor.c+7 -87 replies
4/6monitor: Remove last target_long use in get_monitor_def()monitor/hmp-target.c+1 -23 replies
5/6monitor: Reduce target-specific methods furthermonitor/hmp-target.c monitor/hmp.c monitor/monitor-internal.h+40 -401 reply
6/6monitor: Remove 'monitor/hmp-target.h' headerMAINTAINERS hw/i386/sgx-stub.c hw/i386/sgx.c +16 more+14 -601 reply

Reviews trailers per patch

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

PatchDr. David Alan GilbertPierrick Bouvier
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b R-b
6/6R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v6 thread

Cover letter [PATCH-for-11.1 v6 0/6] monitor/hmp: Reduce target-specific definitions

v6: Keep signed (Pierrick)
v5: Fixed mis-rebase (Zoltan)
v4: Remove duplicated hmp_info_via() declaration
v3: Rename MD_I32 -> MD_U32 (Dave)
v2: Change get_value() prototype signature, use ldn_he_p()

Move most of target-agnostic definitions from
"monitor/hmp-target.h" to "monitor/hmp.h" to
reduce files target-poisoning.

Philippe Mathieu-Daudé (6):
target/sparc/monitor: Dump all registers as 32-bit
monitor: Remove MonitorDef::type field and MD_TLONG / MD_I32
monitor: Have MonitorDef::get_value() always return int64_t type
monitor: Remove last target_long use in get_monitor_def()
monitor: Reduce target-specific methods further
monitor: Remove 'monitor/hmp-target.h' header

 MAINTAINERS                   |  2 +-
 include/monitor/hmp-target.h  | 50 -----------------------------------
 include/monitor/hmp.h         | 12 +++++++++
 monitor/monitor-internal.h    |  1 -
 hw/i386/sgx-stub.c            |  1 -
 hw/i386/sgx.c                 |  1 -
 monitor/hmp-cmds.c            |  1 -
 monitor/hmp-target.c          | 48 ---------------------------------
 monitor/hmp.c                 | 41 +++++++++++++++++++++++++++-
 stubs/target-monitor-defs.c   |  2 +-
 target/i386/cpu-apic.c        |  1 -
 target/i386/monitor.c         |  7 +++--
 target/i386/sev-system-stub.c |  1 -
 target/i386/sev.c             |  1 -
 target/m68k/monitor.c         | 25 +++++++++---------
 target/ppc/monitor.c          |  2 --
 target/riscv/monitor.c        |  1 -
 target/sh4/monitor.c          |  1 -
 target/sparc/monitor.c        |  1 -
 target/xtensa/monitor.c       |  1 -
 20 files changed, 69 insertions(+), 131 deletions(-)
 delete mode 100644 include/monitor/hmp-target.h
Signature · 1 line
2.53.0