Message ID | 20231125141926.ABE8175A4C0@zero.eik.bme.hu |
---|---|
State | New |
Headers | show |
Series | [for,8.2] ppc/amigaone: Allow running without firmware image | expand |
diff --git a/hw/ppc/amigaone.c b/hw/ppc/amigaone.c index 992a55e632..f3d702814a 100644 --- a/hw/ppc/amigaone.c +++ b/hw/ppc/amigaone.c @@ -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); }
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 <balaton@eik.bme.hu> --- 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(-)