diff options
author | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-09-26 14:38:49 -0300 |
---|---|---|
committer | Daniel Henrique Barboza <danielhb413@gmail.com> | 2022-10-17 16:15:10 -0300 |
commit | 4b326f8985ad21dc135843a6c1682bbd76fd5f36 (patch) | |
tree | c714b8eb800306edda9a7f67045e6c6b54a1dc37 /hw/pci-host/dino.c | |
parent | 698af4cb35061d87bbc40d24fa6ccde10030300e (diff) | |
download | qemu-4b326f8985ad21dc135843a6c1682bbd76fd5f36.zip qemu-4b326f8985ad21dc135843a6c1682bbd76fd5f36.tar.gz qemu-4b326f8985ad21dc135843a6c1682bbd76fd5f36.tar.bz2 |
hw/ppc: set machine->fdt in xilinx_load_device_tree()
This will enable support for 'dumpdtb' QMP/HMP command for the
virtex_ml507 machine.
Setting machine->fdt requires a MachineState pointer to be used inside
xilinx_load_device_tree(). Let's change the function to receive this
pointer from the caller. kernel_cmdline' can be retrieved directly from
the 'machine' pointer. 'ramsize' wasn't being used so can be removed.
Cc: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Message-Id: <20220926173855.1159396-11-danielhb413@gmail.com>
Diffstat (limited to 'hw/pci-host/dino.c')
0 files changed, 0 insertions, 0 deletions