]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Remove vcpu_vmx's defunct copy of host_pkru
authorSean Christopherson <sean.j.christopherson@intel.com>
Wed, 17 Jun 2020 03:41:23 +0000 (20:41 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 23 Jun 2020 10:01:29 +0000 (06:01 -0400)
commit8b61211803c5c8e5cca120bf1be5d43d55a1f2de
tree7bdc9be7f3738c2cfb9cbaf0b1304547efbae3c7
parent0d1b1c39211ca95fe2b44ccc61bfe97e111941f7
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: ce79271753952 ("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>
arch/x86/kvm/vmx/vmx.h