Commit 0550f9c1 authored by Bernhard Kohl's avatar Bernhard Kohl Committed by Anthony Liguori
Browse files

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: default avatarAlexander Graf <agraf@suse.de>
Reviewed-By: default avatarPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: default avatarBernhard Kohl <bernhard.kohl@nsn.com>
Signed-off-by: default avatarAnthony Liguori <aliguori@us.ibm.com>
parent 33bbd1de
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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