arm64: KVM: Fix host crash when injecting a fault into a 32bit guest
When injecting a fault into a misbehaving 32bit guest, it seems
rather idiotic to also inject a 64bit fault that is only going
to corrupt the guest state. This leads to a situation where we
perform an illegal exception return at EL2 causing the host
to crash instead of killing the guest.
Just fix the stupid bug that has been there from day 1.
Reported-by: Russell King <firstname.lastname@example.org>
Tested-by: Russell King <email@example.com>
Signed-off-by: Marc Zyngier <firstname.lastname@example.org>
Signed-off-by: Will Deacon <email@example.com>
1 file changed