]> Git Repo - qemu.git/commitdiff
mips: degrade BIOS error to warning
authorPaolo Bonzini <[email protected]>
Mon, 22 Jul 2013 13:54:28 +0000 (15:54 +0200)
committerAnthony Liguori <[email protected]>
Thu, 25 Jul 2013 13:12:27 +0000 (08:12 -0500)
No free MIPS BIOS is available, so it makes little sense to quit.

Signed-off-by: Paolo Bonzini <[email protected]>
Reviewed-by: Anthony Liguori <[email protected]>
Message-id: 1374501278[email protected]
Signed-off-by: Anthony Liguori <[email protected]>
hw/mips/mips_fulong2e.c
hw/mips/mips_jazz.c
hw/mips/mips_malta.c
hw/mips/mips_mipssim.c

index 9e305d287801165e48e91e984f9d80ad245ac8c5..a7e9dcf4bf6351157a3facf7f0ed453ee839ddba 100644 (file)
@@ -333,8 +333,7 @@ static void mips_fulong2e_init(QEMUMachineInitArgs *args)
         }
 
         if ((bios_size < 0 || bios_size > BIOS_SIZE) && !kernel_filename) {
-            fprintf(stderr, "qemu: Could not load MIPS bios '%s'\n", bios_name);
-            exit(1);
+            fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n", bios_name);
         }
     }
 
index 2c4acb9ec49e01b557e273f5151e4a16acbcca38..d6e0860a833077c4b38a0c86c7c6941e631b709d 100644 (file)
@@ -177,9 +177,8 @@ static void mips_jazz_init(MemoryRegion *address_space,
         bios_size = -1;
     }
     if (bios_size < 0 || bios_size > MAGNUM_BIOS_SIZE) {
-        fprintf(stderr, "qemu: Could not load MIPS bios '%s'\n",
+        fprintf(stderr, "qemu: Warning, could not load MIPS bios '%s'\n",
                 bios_name);
-        exit(1);
     }
 
     /* Init CPU internal devices */
index de87241e9caaa4b1c6424abdab538ebee317b199..dad58c0ed26e7e6033523e0c27f59497e39e52cc 100644 (file)
@@ -908,9 +908,8 @@ void mips_malta_init(QEMUMachineInitArgs *args)
             }
             if ((bios_size < 0 || bios_size > BIOS_SIZE) && !kernel_filename) {
                 fprintf(stderr,
-                        "qemu: Could not load MIPS bios '%s', and no -kernel argument was specified\n",
+                        "qemu: Warning, could not load MIPS bios '%s', and no -kernel argument was specified\n",
                         bios_name);
-                exit(1);
             }
         }
         /* In little endian mode the 32bit words in the bios are swapped,
index e4a11c8a055d5b88160a2f66a57c8e0a42fc84e2..e8802c128e5e7b66ce670856d63ad4a58659afcd 100644 (file)
@@ -192,9 +192,8 @@ mips_mipssim_init(QEMUMachineInitArgs *args)
     if ((bios_size < 0 || bios_size > BIOS_SIZE) && !kernel_filename) {
         /* Bail out if we have neither a kernel image nor boot vector code. */
         fprintf(stderr,
-                "qemu: Could not load MIPS bios '%s', and no -kernel argument was specified\n",
+                "qemu: Warning, could not load MIPS bios '%s', and no -kernel argument was specified\n",
                 filename);
-        exit(1);
     } else {
         /* We have a boot vector start address. */
         env->active_tc.PC = (target_long)(int32_t)0xbfc00000;
This page took 0.032106 seconds and 4 git commands to generate.