mbox series

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

Message ID 20240610063518.50680-1-philmd@linaro.org
Headers show
Series hw/intc: Introduce x-query-interrupt-controllers QMP command | expand

Message

Philippe Mathieu-Daudé June 10, 2024, 6:35 a.m. UTC
Continuing previous work from Daniel:
https://lore.kernel.org/qemu-devel/20211028155457.967291-1-berrange@redhat.com/

- 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: <20240610062105.49848-1-philmd@linaro.org>

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(-)

Comments

Philippe Mathieu-Daudé June 18, 2024, 11 a.m. UTC | #1
On 10/6/24 08:35, Philippe Mathieu-Daudé wrote:

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

Series queued.