diff options
author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-06-17 05:41:23 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-06-23 12:01:29 +0200 |
commit | e4553b4976d1178c13da295cb5c7b21f55baf8f9 (patch) | |
tree | 7bdc9be7f3738c2cfb9cbaf0b1304547efbae3c7 /arch/x86/kvm/vmx/vmx.h | |
parent | KVM: x86: allow TSC to differ by NTP correction bounds without TSC scaling (diff) | |
download | linux-e4553b4976d1178c13da295cb5c7b21f55baf8f9.tar.xz linux-e4553b4976d1178c13da295cb5c7b21f55baf8f9.zip |
KVM: VMX: Remove vcpu_vmx's defunct copy of host_pkru
Remove vcpu_vmx.host_pkru, which got left behind when PKRU support was
moved to common x86 code.
No functional change intended.
Fixes: 37486135d3a7b ("KVM: x86: Fix pkru save/restore when guest CR4.PKE=0, move it to x86.c")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200617034123.25647-1-sean.j.christopherson@intel.com>
Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.h')
-rw-r--r-- | arch/x86/kvm/vmx/vmx.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h index 8a83b5edc820..639798e4a6ca 100644 --- a/arch/x86/kvm/vmx/vmx.h +++ b/arch/x86/kvm/vmx/vmx.h @@ -288,8 +288,6 @@ struct vcpu_vmx { u64 current_tsc_ratio; - u32 host_pkru; - unsigned long host_debugctlmsr; /* |