KVM: nVMX: remove unnecessary #ifdef
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Mar 2023 11:40:56 +0000 (07:40 -0400)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 14 Mar 2023 13:40:54 +0000 (09:40 -0400)
commit77900bffed14894476969042718a9ca05eb1f477
treeb234e8eee0e529c31fe42d3f126a5172b8d14300
parent112e66017bff7f2837030f34c2bc19501e9212d5
KVM: nVMX: remove unnecessary #ifdef

nested_vmx_check_controls() has already run by the time KVM checks host state,
so the "host address space size" exit control can only be set on x86-64 hosts.
Simplify the condition at the cost of adding some dead code to 32-bit kernels.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c