From: Bernhard Beschow <shen...@gmail.com> Signed-off-by: Bernhard Beschow <shen...@gmail.com> Reviewed-by: Edgar E. Iglesias <ed...@zeroasic.com> Reviewed-by: Cédric Le Goater <c...@kaod.org> Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org> Message-Id: <20221216145709.271940-4-shen...@gmail.com> Signed-off-by: Daniel Henrique Barboza <danielhb...@gmail.com> --- hw/ppc/virtex_ml507.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/ppc/virtex_ml507.c b/hw/ppc/virtex_ml507.c index 13cace229b..f2f81bd425 100644 --- a/hw/ppc/virtex_ml507.c +++ b/hw/ppc/virtex_ml507.c @@ -157,7 +157,7 @@ static int xilinx_load_device_tree(MachineState *machine, int r; const char *dtb_filename; - dtb_filename = current_machine->dtb; + dtb_filename = machine->dtb; if (dtb_filename) { fdt = load_device_tree(dtb_filename, &fdt_size); if (!fdt) { -- 2.38.1