nVMX x86: Check VMX-preemption timer controls on vmentry of L2 guests
[ Upstream commit 14aa61d0a9eb3ddad06c3a0033f88b5fa7f05613 ]
According to section "Checks on VMX Controls" in Intel SDM vol 3C, the
following check needs to be enforced on vmentry of L2 guests:
If the "activate VMX-preemption timer" VM-execution control is 0, the
the "save VMX-preemption timer value" VM-exit control must also be 0.
Signed-off-by:
Krish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by:
Mihai Carabas <mihai.carabas@oracle.com>
Reviewed-by:
Liran Alon <liran.alon@oracle.com>
Signed-off-by:
Paolo Bonzini <pbonzini@redhat.com>
Stable-dep-of: a44b331614e6 ("KVM: x86/vmx: Do not skip segment attributes if unusable bit is set")
Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please register or sign in to comment