ppc/amigaone: Allow running without firmware image
PATCH 1/1 ppc/amigaone: Allow running without firmware image
The machine uses a modified U-Boot under GPL license but the sources of it are lost with only a binary available so it cannot be included in QEMU. Allow running without the firmware image by specifying -bios none which can be used when calling a boot loader directly which does not need the firmware and thus simplifying booting guests.
Signed-off-by BALATON Zoltan <[email protected]>
---
Please merge for 8.2 as ir allows booting AmigaOS simpler without having to download separate firmware.
hw/ppc/amigaone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/ppc/amigaone.c +1 -1
@@ -105,7 +105,7 @@ static void amigaone_init(MachineState *machine)exit (1 ); }g_free (filename); - }else if (!qtest_enabled ()) { + }else if (!qtest_enabled () &&strcmp (fwname,"none" ) !=0 ) {error_report ("Could not find firmware '%s'" , fwname);exit (1 ); }
Signature · 1 line
2.30.9