KVM: VMX: read idt_vectoring_info a bit earlier
authorMaxim Levitsky <mlevitsk@redhat.com>
Wed, 17 Feb 2021 14:57:12 +0000 (16:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 18 Feb 2021 12:33:29 +0000 (07:33 -0500)
commitf5c59b575bdfb6522a99e964875e39bd2568657b
tree12950d38ec9ada519dfea15f4f836c9f5e9b31a0
parent1aaca37e1e4e3d098232ee9e3b154e83c52374ea
KVM: VMX: read idt_vectoring_info a bit earlier

trace_kvm_exit prints this value (using vmx_get_exit_info)
so it makes sense to read it before the trace point.

Fixes: dcf068da7eb2 ("KVM: VMX: Introduce generic fastpath handler")

Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20210217145718.1217358-2-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.c