hw/rx: Allow execution without either bios or kernel
authorKeith Packard <keithp@keithp.com>
Sat, 15 Feb 2025 02:16:50 +0000 (18:16 -0800)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:45:38 +0000 (14:45 +0100)
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 <keithp@keithp.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-ID: <20250215021654.1786679-2-keithp@keithp.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
hw/rx/rx-gdbsim.c

index 88c8f12c1019cdd40944e714e28100eccbd0b875..4afd77efd569ffe098c6d28e10d44ba2ef5f06cb 100644 (file)
@@ -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);
         }
     }