Skip to content
Snippets Groups Projects
Commit ff1e51b8 authored by Krish Sadhukhan's avatar Krish Sadhukhan Committed by Greg Kroah-Hartman
Browse files

nVMX x86: Check VMX-preemption timer controls on vmentry of L2 guests


[ Upstream commit 14aa61d0 ]

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: default avatarKrish Sadhukhan <krish.sadhukhan@oracle.com>
Reviewed-by: default avatarMihai Carabas <mihai.carabas@oracle.com>
Reviewed-by: default avatarLiran Alon <liran.alon@oracle.com>
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Stable-dep-of: a44b3316 ("KVM: x86/vmx: Do not skip segment attributes if unusable bit is set")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 7bc868f0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment