Skip to content

Commit

Permalink
KVM: VMX: Remove vcpu_vmx's defunct copy of host_pkru
Browse files Browse the repository at this point in the history
Remove vcpu_vmx.host_pkru, which got left behind when PKRU support was
moved to common x86 code.

No functional change intended.

Fixes: 3748613 ("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: <[email protected]>
Reviewed-by: Vitaly Kuznetsov <[email protected]>
Reviewed-by: Jim Mattson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
  • Loading branch information
Sean Christopherson authored and bonzini committed Jun 23, 2020
1 parent 26769f9 commit e4553b4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/x86/kvm/vmx/vmx.h
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,6 @@ struct vcpu_vmx {

u64 current_tsc_ratio;

u32 host_pkru;

unsigned long host_debugctlmsr;

/*
Expand Down

0 comments on commit e4553b4

Please sign in to comment.