From 0550f9c1b58896a6ca1d1256e26c78f84de2ed55 Mon Sep 17 00:00:00 2001 From: Bernhard Kohl Date: Tue, 16 Nov 2010 13:28:37 +0100 Subject: pc: disable the BOCHS BIOS panic port 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: Alexander Graf Reviewed-By: Paolo Bonzini Signed-off-by: Bernhard Kohl Signed-off-by: Anthony Liguori --- hw/pc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'hw/pc.c') diff --git a/hw/pc.c b/hw/pc.c index c34d194c2..119c1106c 100644 --- a/hw/pc.c +++ b/hw/pc.c @@ -430,8 +430,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 -- cgit v1.2.3