]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit53e90b8a5d04d0cc69898406fc3bda13d76e1be4
tree12950d38ec9ada519dfea15f4f836c9f5e9b31a0
parent7d9bf1f1092be98e312098aeae0eba1d47db0e6c
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: d2b3f1de0e18 ("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