diff options
author | Paul Mackerras <paulus@samba.org> | 2013-09-20 14:52:41 +1000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2013-10-17 14:45:02 +0200 |
commit | f3271d4c9011bf5f36a65b9b5e7caaef4280686d (patch) | |
tree | 87ebaa857ae61b6db67cad0cae978b69e0cd4f21 /lib/llist.c | |
parent | 388cc6e133132e6c9b64e7d5361114a3a7d57663 (diff) | |
download | op-kernel-dev-f3271d4c9011bf5f36a65b9b5e7caaef4280686d.zip op-kernel-dev-f3271d4c9011bf5f36a65b9b5e7caaef4280686d.tar.gz |
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 <paulus@samba.org>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'lib/llist.c')
0 files changed, 0 insertions, 0 deletions