qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 00/13] pci: Move and clean up monitor command code
@ 2022-12-01 12:11 Markus Armbruster
  2022-12-01 12:11 ` [PATCH v2 01/13] pci: Clean up a few things checkpatch.pl would flag later on Markus Armbruster
                   ` (12 more replies)
  0 siblings, 13 replies; 14+ messages in thread
From: Markus Armbruster @ 2022-12-01 12:11 UTC (permalink / raw)
  To: qemu-devel; +Cc: mst, marcel.apfelbaum, dgilbert, philmd

This is mainly about splitting off monitor-related code.  There's also
a few UI fixes to HMP command pcie_aer_inject_error.

v2:
* PATCH 08: Use qemu_strtoui() [David], commit message corrected
* PATCH 13: New

Markus Armbruster (13):
  pci: Clean up a few things checkpatch.pl would flag later on
  pci: Move QMP commands to new hw/pci/pci-qmp-cmds.c
  pci: Move HMP commands from monitor/ to new hw/pci/pci-hmp-cmds.c
  pci: Make query-pci stub consistent with the real one
  pci: Build hw/pci/pci-hmp-cmds.c only when CONFIG_PCI
  pci: Deduplicate get_class_desc()
  pci: Move pcibus_dev_print() to pci-hmp-cmds.c
  pci: Fix silent truncation of pcie_aer_inject_error argument
  pci: Move HMP command from hw/pci/pcie_aer.c to pci-hmp-cmds.c
  pci: Inline do_pcie_aer_inject_error() into its only caller
  pci: Rename hmp_pcie_aer_inject_error()'s local variable @err
  pci: Improve do_pcie_aer_inject_error()'s error messages
  pci: Reject pcie_aer_inject_error -c with symbolic error status

 hw/pci/pci-internal.h   |  25 +++++
 include/monitor/hmp.h   |   1 +
 include/sysemu/sysemu.h |   3 -
 hw/pci/pci-hmp-cmds.c   | 238 ++++++++++++++++++++++++++++++++++++++++
 hw/pci/pci-qmp-cmds.c   | 201 +++++++++++++++++++++++++++++++++
 hw/pci/pci-stub.c       |   9 +-
 hw/pci/pci.c            | 226 +-------------------------------------
 hw/pci/pcie_aer.c       | 113 +------------------
 monitor/hmp-cmds.c      | 107 ------------------
 hw/pci/meson.build      |   2 +
 10 files changed, 480 insertions(+), 445 deletions(-)
 create mode 100644 hw/pci/pci-internal.h
 create mode 100644 hw/pci/pci-hmp-cmds.c
 create mode 100644 hw/pci/pci-qmp-cmds.c

-- 
2.37.3



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

end of thread, other threads:[~2022-12-01 12:16 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-01 12:11 [PATCH v2 00/13] pci: Move and clean up monitor command code Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 01/13] pci: Clean up a few things checkpatch.pl would flag later on Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 02/13] pci: Move QMP commands to new hw/pci/pci-qmp-cmds.c Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 03/13] pci: Move HMP commands from monitor/ to new hw/pci/pci-hmp-cmds.c Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 04/13] pci: Make query-pci stub consistent with the real one Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 05/13] pci: Build hw/pci/pci-hmp-cmds.c only when CONFIG_PCI Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 06/13] pci: Deduplicate get_class_desc() Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 07/13] pci: Move pcibus_dev_print() to pci-hmp-cmds.c Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 08/13] pci: Fix silent truncation of pcie_aer_inject_error argument Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 09/13] pci: Move HMP command from hw/pci/pcie_aer.c to pci-hmp-cmds.c Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 10/13] pci: Inline do_pcie_aer_inject_error() into its only caller Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 11/13] pci: Rename hmp_pcie_aer_inject_error()'s local variable @err Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 12/13] pci: Improve do_pcie_aer_inject_error()'s error messages Markus Armbruster
2022-12-01 12:11 ` [PATCH v2 13/13] pci: Reject pcie_aer_inject_error -c with symbolic error status Markus Armbruster

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