summaryrefslogtreecommitdiffstats
path: root/hw/pc.c
diff options
context:
space:
mode:
authorBernhard Kohl2010-11-16 13:28:37 +0100
committerAnthony Liguori2010-11-21 16:16:57 +0100
commit0550f9c1b58896a6ca1d1256e26c78f84de2ed55 (patch)
tree33b21cf877fe6d3b9536fa087b3e726bb80d83ef /hw/pc.c
parentoptionrom: fix bugs in signrom.sh (diff)
downloadqemu-0550f9c1b58896a6ca1d1256e26c78f84de2ed55.tar.gz
qemu-0550f9c1b58896a6ca1d1256e26c78f84de2ed55.tar.xz
qemu-0550f9c1b58896a6ca1d1256e26c78f84de2ed55.zip
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 <agraf@suse.de> Reviewed-By: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Bernhard Kohl <bernhard.kohl@nsn.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/pc.c')
-rw-r--r--hw/pc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/pc.c b/hw/pc.c
index c34d194c25..119c1106c2 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