summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/svm/svm.h
diff options
context:
space:
mode:
authorMingwei Zhang <mizhang@google.com>2023-05-23 18:56:35 +0200
committerSean Christopherson <seanjc@google.com>2023-06-01 22:38:16 +0200
commit0d3518d2f8c3c432270e3eff56e28ae6c0cedfac (patch)
tree2a303bc27c6388a3c10f41d9f1cbb3449dbc2553 /arch/x86/kvm/svm/svm.h
parentKVM: VMX: add MSR_IA32_TSX_CTRL into msrs_to_save (diff)
downloadlinux-0d3518d2f8c3c432270e3eff56e28ae6c0cedfac.tar.xz
linux-0d3518d2f8c3c432270e3eff56e28ae6c0cedfac.zip
KVM: SVM: Remove TSS reloading code after VMEXIT
Remove the dedicated post-VMEXIT TSS reloading code now that KVM uses VMLOAD to load host segment state, which includes TSS state. Fixes: e79b91bb3c91 ("KVM: SVM: use vmsave/vmload for saving/restoring additional host state") Reported-by: Venkatesh Srinivas <venkateshs@google.com> Suggested-by: Jim Mattson <jmattson@google.com> Signed-off-by: Mingwei Zhang <mizhang@google.com> Link: https://lore.kernel.org/r/20230523165635.4002711-1-mizhang@google.com [sean: massage changelog] Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'arch/x86/kvm/svm/svm.h')
-rw-r--r--arch/x86/kvm/svm/svm.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/x86/kvm/svm/svm.h b/arch/x86/kvm/svm/svm.h
index f44751dd8d5d..18af7e712a5a 100644
--- a/arch/x86/kvm/svm/svm.h
+++ b/arch/x86/kvm/svm/svm.h
@@ -303,7 +303,6 @@ struct svm_cpu_data {
u32 max_asid;
u32 next_asid;
u32 min_asid;
- struct kvm_ldttss_desc *tss_desc;
struct page *save_area;
unsigned long save_area_pa;