Skip to content
Commit e8d93d5d authored by Paolo Bonzini's avatar Paolo Bonzini
Browse files

KVM: SVM: INTERCEPT_RDTSCP is never intercepted anyway



svm_recalc_instruction_intercepts() is always called at least once
before the vCPU is started, so the setting or clearing of the RDTSCP
intercept can be dropped from the TSC_AUX virtualization support.

Extracted from a patch by Tom Lendacky.

Cc: stable@vger.kernel.org
Fixes: 296d5a17 ("KVM: SEV-ES: Use V_TSC_AUX if available instead of RDTSC/MSR_TSC_AUX intercepts")
Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
parent 0df9dab8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment