aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-host/dino.c
diff options
context:
space:
mode:
authorDaniel Henrique Barboza <danielhb413@gmail.com>2022-09-26 14:38:47 -0300
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-10-17 16:15:10 -0300
commit8d42c851ed2f8a86e2f830d453d4c4f288007cb8 (patch)
tree9a8eb6d5ea89e2b9caa5748c9a51a020ec16dadf /hw/pci-host/dino.c
parent610cba317c28d1b4ecb6ea36c754c225f4b917ad (diff)
downloadqemu-8d42c851ed2f8a86e2f830d453d4c4f288007cb8.zip
qemu-8d42c851ed2f8a86e2f830d453d4c4f288007cb8.tar.gz
qemu-8d42c851ed2f8a86e2f830d453d4c4f288007cb8.tar.bz2
hw/ppc: set machine->fdt in bamboo_load_device_tree()
This will enable support for 'dumpdtb' QMP/HMP command for the bamboo machine. Setting machine->fdt requires a MachineState pointer to be used inside bamboo_load_device_tree(). Let's change the function to receive this pointer from the caller. 'ramsize' and 'kernel_cmdline' can be retrieved directly from the 'machine' pointer. Cc: Cédric Le Goater <clg@kaod.org> Reviewed-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com> Message-Id: <20220926173855.1159396-9-danielhb413@gmail.com>
Diffstat (limited to 'hw/pci-host/dino.c')
0 files changed, 0 insertions, 0 deletions