From: Paul Mackerras Date: Fri, 20 Sep 2013 04:52:41 +0000 (+1000) Subject: KVM: PPC: Book3S HV: Don't crash host on unknown guest interrupt X-Git-Tag: v3.13-rc1~80^2~15^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3271d4c9011bf5f36a65b9b5e7caaef4280686d;p=pandora-kernel.git KVM: PPC: Book3S HV: Don't crash host on unknown guest interrupt If we come out of a guest with an interrupt that we don't know about, instead of crashing the host with a BUG(), we now return to userspace with the exit reason set to KVM_EXIT_UNKNOWN and the trap vector in the hw.hardware_exit_reason field of the kvm_run structure, as is done on x86. Note that run->exit_reason is already set to KVM_EXIT_UNKNOWN at the beginning of kvmppc_handle_exit(). Signed-off-by: Paul Mackerras Signed-off-by: Alexander Graf --- Reading git-diff-tree failed