qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hw/intc: Introduce x-query-interrupt-controllers QMP command
@ 2024-06-10  6:35 Philippe Mathieu-Daudé
  2024-06-10  6:35 ` [PATCH 1/2] hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() Philippe Mathieu-Daudé
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Philippe Mathieu-Daudé @ 2024-06-10  6:35 UTC (permalink / raw)
  To: qemu-devel
  Cc: Michael S. Tsirkin, Dr. David Alan Gilbert,
	Philippe Mathieu-Daudé, Mark Cave-Ayland, Harsh Prateek Bora,
	Eduardo Habkost, Marcel Apfelbaum, Paolo Bonzini, Laurent Vivier,
	David Gibson, Daniel P . Berrangé, Daniel Henrique Barboza,
	Eric Blake, Yanan Wang, Cédric Le Goater, Nicholas Piggin,
	Don Porter, Frédéric Barrat, qemu-ppc,
	Markus Armbruster

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



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2024-06-18 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-10  6:35 [PATCH 0/2] hw/intc: Introduce x-query-interrupt-controllers QMP command Philippe Mathieu-Daudé
2024-06-10  6:35 ` [PATCH 1/2] hw/intc: Avoid using Monitor in INTERRUPT_STATS_PROVIDER::print_info() Philippe Mathieu-Daudé
2024-06-10  8:35   ` Daniel P. Berrangé
2024-06-10  6:35 ` [PATCH 2/2] hw/intc: Introduce x-query-interrupt-controllers QMP command Philippe Mathieu-Daudé
2024-06-10  8:35   ` Daniel P. Berrangé
2024-06-18 11:00 ` [PATCH 0/2] " Philippe Mathieu-Daudé

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).