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

Philippe Mathieu-Daudé posted 2 patches 1 month ago
Failed in applying to current master (apply log)
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(-)
[PATCH 0/2] hw/intc: Introduce x-query-interrupt-controllers QMP command
Posted by Philippe Mathieu-Daudé 1 month ago
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(-)

-- 
2.41.0


Re: [PATCH 0/2] hw/intc: Introduce x-query-interrupt-controllers QMP command
Posted by Philippe Mathieu-Daudé 3 weeks, 4 days ago
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.