KVM: nVMX: Drop pointless msr_bitmap_map field from struct nested_vmx
authorSean Christopherson <seanjc@google.com>
Thu, 10 Oct 2024 18:23:26 +0000 (11:23 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 25 Oct 2024 16:57:59 +0000 (12:57 -0400)
commit2e34f942a5f251f426f240edf68197817935cd31
treeaec81e7a74ede0d197c068cd86f8fd6ec715ea3f
parentefaaabc6c6d3cd673ffc9b6ac1da17186a238cb6
KVM: nVMX: Drop pointless msr_bitmap_map field from struct nested_vmx

Remove vcpu_vmx.msr_bitmap_map and instead use an on-stack structure in
the one function that uses the map, nested_vmx_prepare_msr_bitmap().

Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Tested-by: Dmitry Osipenko <dmitry.osipenko@collabora.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Message-ID: <20241010182427.1434605-25-seanjc@google.com>
arch/x86/kvm/vmx/nested.c
arch/x86/kvm/vmx/vmx.h