Skip to content

hw/intc: Introduce x-query-interrupt-controllers QMP command

Philippe Mathieu-Daudé qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info()hw/intc/goldfish_pic.c hw/intc/i8259_common.c hw/intc/ioapic_common.c +6 more+57 -681 reply
2/2hw/intc: Introduce x-query-interrupt-controllers QMP commandhmp-commands-info.hx hw/core/machine-qmp-cmds.c monitor/hmp-cmds.c +1 more+47 -341 reply

Reviews trailers per patch

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

PatchDaniel P. Berrangé
1/2R-b
2/2R-b

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

Read the v1 thread

Cover letter [PATCH 0/2] hw/intc: Introduce x-query-interrupt-controllers QMP command

Continuing previous work from Daniel:
https://lore.kernel.org/qemu-devel/[email protected]/

- Prefer HumanReadableText over Monitor in hw/intc/
- Introduce x-query-interrupt-controllers QMP command

See commits f2de406f29 ("docs/devel: document expectations for QAPI data modelling for QMP") and 3d312f417d ("docs/devel: document expectations for HMP commands in the future") for rationale.

Based-on: <[email protected]>

Philippe Mathieu-Daudé (2):
hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() hw/intc: Introduce x-query-interrupt-controllers QMP command

 qapi/machine.json          | 17 ++++++++++++
 include/hw/intc/intc.h     |  2 +-
 hw/core/machine-qmp-cmds.c | 29 +++++++++++++++++++
 hw/intc/goldfish_pic.c     |  8 +++---
 hw/intc/i8259_common.c     | 14 +++++-----
 hw/intc/ioapic_common.c    | 57 +++++++++++++++++++-------------------
 hw/intc/m68k_irqc.c        |  5 ++--
 hw/intc/slavio_intctl.c    | 11 ++++----
 hw/ppc/pnv.c               | 10 +------
 hw/ppc/spapr.c             | 10 +------
 monitor/hmp-cmds.c         | 27 ------------------
 hmp-commands-info.hx       |  2 +-
 12 files changed, 97 insertions(+), 95 deletions(-)
Signature · 1 line
2.41.0