projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
KVM: nVMX: Handle split-lock #AC exceptions that happen in L2
[linux-2.6-microblaze.git]
/
arch
/
x86
/
kvm
/
vmx
/
nested.c
diff --git
a/arch/x86/kvm/vmx/nested.c
b/arch/x86/kvm/vmx/nested.c
index
183fd9d
..
fa3f50f
100644
(file)
--- a/
arch/x86/kvm/vmx/nested.c
+++ b/
arch/x86/kvm/vmx/nested.c
@@
-5833,6
+5833,9
@@
static bool nested_vmx_l0_wants_exit(struct kvm_vcpu *vcpu,
else if (is_breakpoint(intr_info) &&
vcpu->guest_debug & KVM_GUESTDBG_USE_SW_BP)
return true;
+ else if (is_alignment_check(intr_info) &&
+ !vmx_guest_inject_ac(vcpu))
+ return true;
return false;
case EXIT_REASON_EXTERNAL_INTERRUPT:
return true;