]> Git Repo - linux.git/commitdiff
KVM: VMX: Remove vcpu_vmx's defunct copy of host_pkru
authorSean Christopherson <[email protected]>
Wed, 17 Jun 2020 03:41:23 +0000 (20:41 -0700)
committerPaolo Bonzini <[email protected]>
Tue, 23 Jun 2020 10:01:29 +0000 (06:01 -0400)
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 <[email protected]>
Message-Id: <20200617034123[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
arch/x86/kvm/vmx/vmx.h

index 8a83b5edc82046f7f66169d23d9c7dcdf8668392..639798e4a6ca74a41a59824f936d59a0a6412589 100644 (file)
@@ -288,8 +288,6 @@ struct vcpu_vmx {
 
        u64 current_tsc_ratio;
 
-       u32 host_pkru;
-
        unsigned long host_debugctlmsr;
 
        /*
This page took 0.057822 seconds and 4 git commands to generate.