diff mbox series

[1/5] hw/rx: Allow execution without either bios or kernel

Message ID 20250215021654.1786679-2-keithp@keithp.com (mailing list archive)
State New
Headers show
Series Renesas RX target fixes | expand

Commit Message

Keith Packard Feb. 15, 2025, 2:16 a.m. UTC
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>
---
 hw/rx/rx-gdbsim.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Richard Henderson Feb. 15, 2025, 6:12 p.m. UTC | #1
On 2/14/25 18:16, Keith Packard via wrote:
> 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>
> ---
>   hw/rx/rx-gdbsim.c | 3 ---
>   1 file changed, 3 deletions(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
diff mbox series

Patch

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);
         }
     }