Code Review
/
kvmfornfv.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
KVM: nVMX: avoid incorrect preemption timer vmexit in nested guest
[kvmfornfv.git]
/
kernel
/
arch
/
x86
/
kvm
/
vmx.c
diff --git
a/kernel/arch/x86/kvm/vmx.c
b/kernel/arch/x86/kvm/vmx.c
index
e554177
..
9378986
100644
(file)
--- a/
kernel/arch/x86/kvm/vmx.c
+++ b/
kernel/arch/x86/kvm/vmx.c
@@
-7901,6
+7901,8
@@
static bool nested_vmx_exit_handled(struct kvm_vcpu *vcpu)
return nested_cpu_has2(vmcs12, SECONDARY_EXEC_XSAVES);
case EXIT_REASON_PCOMMIT:
return nested_cpu_has2(vmcs12, SECONDARY_EXEC_PCOMMIT);
+ case EXIT_REASON_PREEMPTION_TIMER:
+ return false;
default:
return true;
}