qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v5 00/14] QMP/HMP: introduce 'dumpdtb'
@ 2022-09-03 19:34 Daniel Henrique Barboza
  2022-09-03 19:34 ` [PATCH v5 01/14] hw/arm: do not free machine->fdt in arm_load_dtb() Daniel Henrique Barboza
                   ` (13 more replies)
  0 siblings, 14 replies; 16+ messages in thread
From: Daniel Henrique Barboza @ 2022-09-03 19:34 UTC (permalink / raw)
  To: qemu-devel
  Cc: qemu-ppc, clg, david, alistair.francis, Daniel Henrique Barboza

Hi,

In this version I removed the 'info fdt' command. It didn't get enough
traction/acceptance to justify the amount of code to implement it.

Aside from that, all other changes are based on Markus' feedback on
patch 14.

Changes from v4:
- patches 15-21: removed
- patch 14:
  - dumpdtb is now dependent on 'if: CONFIG_FDT' in qapi/machine.json
  - dumpdtb is now dependent on 'if defined(CONFIG_FDT)' in hmp-commands.hx
  - moved qmp_dumpdtb() and hmp_dumpdtb() to device_tree.c
  - added a GError pointer to g_file_set_contents() to report errors caught
  - hmp_handle_error() is now called unconditionally
- v4 link: https://lists.gnu.org/archive/html/qemu-devel/2022-08/msg04115.html


Daniel Henrique Barboza (14):
  hw/arm: do not free machine->fdt in arm_load_dtb()
  hw/microblaze: set machine->fdt in microblaze_load_dtb()
  hw/nios2: set machine->fdt in nios2_load_dtb()
  hw/ppc: set machine->fdt in ppce500_load_device_tree()
  hw/ppc: set machine->fdt in bamboo_load_device_tree()
  hw/ppc: set machine->fdt in sam460ex_load_device_tree()
  hw/ppc: set machine->fdt in xilinx_load_device_tree()
  hw/ppc: set machine->fdt in pegasos2_machine_reset()
  hw/ppc: set machine->fdt in pnv_reset()
  hw/ppc: set machine->fdt in spapr machine
  hw/riscv: set machine->fdt in sifive_u_machine_init()
  hw/riscv: set machine->fdt in spike_board_init()
  hw/xtensa: set machine->fdt in xtfpga_init()
  qmp/hmp, device_tree.c: introduce dumpdtb

 hmp-commands.hx              | 15 +++++++++++++++
 hw/arm/boot.c                |  3 ++-
 hw/microblaze/boot.c         |  8 +++++++-
 hw/microblaze/meson.build    |  2 +-
 hw/nios2/boot.c              |  8 +++++++-
 hw/nios2/meson.build         |  2 +-
 hw/ppc/e500.c                | 13 ++++++++++++-
 hw/ppc/pegasos2.c            |  7 +++++++
 hw/ppc/pnv.c                 |  8 +++++++-
 hw/ppc/ppc440_bamboo.c       | 11 ++++++++++-
 hw/ppc/sam460ex.c            |  5 ++++-
 hw/ppc/spapr.c               |  6 ++++++
 hw/ppc/spapr_hcall.c         |  8 ++++++++
 hw/ppc/virtex_ml507.c        | 11 ++++++++++-
 hw/riscv/sifive_u.c          |  6 ++++++
 hw/riscv/spike.c             |  9 +++++++++
 hw/xtensa/meson.build        |  2 +-
 hw/xtensa/xtfpga.c           |  9 ++++++++-
 include/sysemu/device_tree.h |  1 +
 monitor/misc.c               |  1 +
 qapi/machine.json            | 18 ++++++++++++++++++
 softmmu/device_tree.c        | 31 +++++++++++++++++++++++++++++++
 22 files changed, 172 insertions(+), 12 deletions(-)

-- 
2.37.2



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

end of thread, other threads:[~2022-09-03 22:27 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-03 19:34 [PATCH v5 00/14] QMP/HMP: introduce 'dumpdtb' Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 01/14] hw/arm: do not free machine->fdt in arm_load_dtb() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 02/14] hw/microblaze: set machine->fdt in microblaze_load_dtb() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 03/14] hw/nios2: set machine->fdt in nios2_load_dtb() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 04/14] hw/ppc: set machine->fdt in ppce500_load_device_tree() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 05/14] hw/ppc: set machine->fdt in bamboo_load_device_tree() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 06/14] hw/ppc: set machine->fdt in sam460ex_load_device_tree() Daniel Henrique Barboza
2022-09-03 22:26   ` BALATON Zoltan
2022-09-03 19:34 ` [PATCH v5 07/14] hw/ppc: set machine->fdt in xilinx_load_device_tree() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 08/14] hw/ppc: set machine->fdt in pegasos2_machine_reset() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 09/14] hw/ppc: set machine->fdt in pnv_reset() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 10/14] hw/ppc: set machine->fdt in spapr machine Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 11/14] hw/riscv: set machine->fdt in sifive_u_machine_init() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 12/14] hw/riscv: set machine->fdt in spike_board_init() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 13/14] hw/xtensa: set machine->fdt in xtfpga_init() Daniel Henrique Barboza
2022-09-03 19:34 ` [PATCH v5 14/14] qmp/hmp, device_tree.c: introduce dumpdtb Daniel Henrique Barboza

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