Skip to content

Commit e4553b4

Browse files
Sean Christophersonbonzini
authored andcommitted
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: 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]>
1 parent 26769f9 commit e4553b4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

arch/x86/kvm/vmx/vmx.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,8 +288,6 @@ struct vcpu_vmx {
288288

289289
u64 current_tsc_ratio;
290290

291-
u32 host_pkru;
292-
293291
unsigned long host_debugctlmsr;
294292

295293
/*

0 commit comments

Comments
 (0)