]> xenbits.xensource.com Git - qemu-xen.git/commit
hw/hppa/lasi: Don't abort on invalid IMR value
authorHelge Deller <deller@gmx.de>
Mon, 3 Aug 2020 05:41:46 +0000 (07:41 +0200)
committerHelge Deller <deller@gmx.de>
Wed, 26 Aug 2020 21:04:00 +0000 (23:04 +0200)
commitb899fe41ceb9c684fa135a081f4c9749400a61d3
tree2f18e825b337fe201577f8ddf44ebf1baa12af93
parenta24d2cf30c06e85dd06c68ad2f162ca53f3b9bc8
hw/hppa/lasi: Don't abort on invalid IMR value

NetBSD initializes the LASI IMR value with 0xffffffff to disable all LASI
interrupts. This triggered an assert() and stopped the emulation.  By replacing
the check with a warning in the guest log we now allow NetBSD to boot again.

Signed-off-by: Helge Deller <deller@gmx.de>
hw/hppa/lasi.c