Re: [Qemu-devel] [PATCH] target-mips: Ignore unassigned accesses with KVM

2014-07-29 Thread Paolo Bonzini
Il 28/07/2014 23:36, Aurelien Jarno ha scritto: > On Mon, Jul 28, 2014 at 12:37:50PM +0100, James Hogan wrote: >> MIPS registers an unassigned access handler which raises a guest bus >> error exception. However this causes QEMU to crash when KVM is enabled >> as it isn't called from the main execut

Re: [Qemu-devel] [PATCH] target-mips: Ignore unassigned accesses with KVM

2014-07-28 Thread Aurelien Jarno
On Mon, Jul 28, 2014 at 12:37:50PM +0100, James Hogan wrote: > MIPS registers an unassigned access handler which raises a guest bus > error exception. However this causes QEMU to crash when KVM is enabled > as it isn't called from the main execution loop so longjmp() gets called > without a corresp

[Qemu-devel] [PATCH] target-mips: Ignore unassigned accesses with KVM

2014-07-28 Thread James Hogan
MIPS registers an unassigned access handler which raises a guest bus error exception. However this causes QEMU to crash when KVM is enabled as it isn't called from the main execution loop so longjmp() gets called without a corresponding setjmp(). Until the KVM API can be updated to trigger a guest