Code Review
/
kvmfornfv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
(from parent 1:
5ac3a5e
)
Merge "KVM: nVMX: avoid incorrect preemption timer vmexit in nested guest"
author
Jiang, Yunhong
<yunhong.jiang@intel.com>
Thu, 21 Jul 2016 17:36:49 +0000
(17:36 +0000)
committer
Gerrit Code Review
<gerrit@172.30.200.206>
Thu, 21 Jul 2016 17:36:49 +0000
(17:36 +0000)
kernel/arch/x86/kvm/vmx.c
patch
|
blob
|
history
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;
}