qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH v2] pc: disable the BOCHS BIOS panic port


From: Paolo Bonzini
Subject: [Qemu-devel] Re: [PATCH v2] pc: disable the BOCHS BIOS panic port
Date: Tue, 16 Nov 2010 14:49:49 +0100
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Fedora/3.1.6-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.6

On 11/16/2010 01:28 PM, Bernhard Kohl wrote:
We have an OS which writes to port 0x400 when probing for special hardware.
This causes an exit of the VM. With SeaBIOS this port isn't used anyway.

Signed-off-by: Bernhard Kohl<address@hidden>
---
Changes v1 ->  v2:
Keep the ports silent. Don't print debug output if DEBUG_BIOS is enabled
which might be confusing.
---
  hw/pc.c |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/hw/pc.c b/hw/pc.c
index 3bf3862..76eabe8 100644
--- a/hw/pc.c
+++ b/hw/pc.c
@@ -434,8 +434,8 @@ static void bochs_bios_write(void *opaque, uint32_t addr, 
uint32_t val)
          /* Bochs BIOS messages */
      case 0x400:
      case 0x401:
-        fprintf(stderr, "BIOS panic at rombios.c, line %d\n", val);
-        exit(1);
+        /* used to be panic, now unused */
+        break;
      case 0x402:
      case 0x403:
  #ifdef DEBUG_BIOS

Reviewed-By: Paolo Bonzini <address@hidden>

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]