From: Keith Packard Date: Sat, 15 Feb 2025 02:16:50 +0000 (-0800) Subject: hw/rx: Allow execution without either bios or kernel X-Git-Tag: v10.0.0-rc0~48^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5bf24ec9c4d4771a9469cadd19cf534e9a32a9db;p=thirdparty%2Fqemu.git hw/rx: Allow execution without either bios or kernel Users can use -device loader to get an ELF file loaded to memory, so we don't need to require one of these options. Signed-off-by: Keith Packard Reviewed-by: Richard Henderson Message-ID: <20250215021654.1786679-2-keithp@keithp.com> Signed-off-by: Philippe Mathieu-Daudé --- diff --git a/hw/rx/rx-gdbsim.c b/hw/rx/rx-gdbsim.c index 88c8f12c10..4afd77efd5 100644 --- a/hw/rx/rx-gdbsim.c +++ b/hw/rx/rx-gdbsim.c @@ -110,9 +110,6 @@ static void rx_gdbsim_init(MachineState *machine) if (!kernel_filename) { if (machine->firmware) { rom_add_file_fixed(machine->firmware, RX62N_CFLASH_BASE, 0); - } else if (!qtest_enabled()) { - error_report("No bios or kernel specified"); - exit(1); } }