From: Sean Christopherson Date: Wed, 17 Jun 2020 03:41:23 +0000 (-0700) Subject: KVM: VMX: Remove vcpu_vmx's defunct copy of host_pkru X-Git-Tag: v5.10.7~2037^2~17 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4553b4976d1178c13da295cb5c7b21f55baf8f9;p=platform%2Fkernel%2Flinux-rpi.git 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 Message-Id: <20200617034123.25647-1-sean.j.christopherson@intel.com> Reviewed-by: Vitaly Kuznetsov Reviewed-by: Jim Mattson Signed-off-by: Paolo Bonzini --- diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h index 8a83b5e..639798e 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; /*