KVM: x86: Remove x86_emulate_ops::guest_has_long_mode
authorMichal Luczaj <mhal@rbox.co>
Tue, 18 Jul 2023 10:15:44 +0000 (12:15 +0200)
committerSean Christopherson <seanjc@google.com>
Wed, 2 Aug 2023 22:47:27 +0000 (15:47 -0700)
commit7f717f54845c518a64fe5464d855ddeca272483a
tree90b1014f529e3901b7d0ce89c855ef5230c2a8eb
parent1d6664fadda3e028b8220ba1ba487a928e801825
KVM: x86: Remove x86_emulate_ops::guest_has_long_mode

Remove x86_emulate_ops::guest_has_long_mode along with its implementation,
emulator_guest_has_long_mode(). It has been unused since commit
1d0da94cdafe ("KVM: x86: do not go through ctxt->ops when emulating rsm").

No functional change intended.

Signed-off-by: Michal Luczaj <mhal@rbox.co>
Link: https://lore.kernel.org/r/20230718101809.1249769-1-mhal@rbox.co
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/kvm_emulate.h
arch/x86/kvm/x86.c