]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: x86: remove exit_int_info warning in svm_handle_exit
authorMaxim Levitsky <mlevitsk@redhat.com>
Thu, 3 Nov 2022 14:13:51 +0000 (16:13 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 17 Nov 2022 16:41:10 +0000 (11:41 -0500)
commit2658390a923a3031d64123e5f35ced671a51ffb1
treecb2995b16065cd7485c0b9900d22d258599f9c58
parentbd2e68fb7538b69d4856de6ce94c2cdd49e224d2
KVM: x86: remove exit_int_info warning in svm_handle_exit

It is valid to receive external interrupt and have broken IDT entry,
which will lead to #GP with exit_int_into that will contain the index of
the IDT entry (e.g any value).

Other exceptions can happen as well, like #NP or #SS
(if stack switch fails).

Thus this warning can be user triggred and has very little value.

Cc: stable@vger.kernel.org
Signed-off-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20221103141351.50662-10-mlevitsk@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/svm/svm.c