On Tue, 17 Dec 2024 18:14:51 +0000, Ivan Orlov wrote: > Currently, the unhandleable vectoring (e.g. when guest accesses MMIO > during vectoring) is handled differently on VMX and SVM: on VMX KVM > returns internal error, when SVM goes into infinite loop trying to > deliver an event again and again. > > This patch series eliminates this difference by returning a KVM internal > error when KVM can't emulate during vectoring for both VMX and SVM. > > [...] Applied to kvm-x86 misc, thanks! If you get a chance, please double check that I didn't fat-finger anything. [1/7] KVM: x86: Add function for vectoring error generation https://github.com/kvm-x86/linux/commit/11c98fa07a79 [2/7] KVM: x86: Add emulation status for unhandleable vectoring https://github.com/kvm-x86/linux/commit/5c9cfc486636 [3/7] KVM: x86: Unprotect & retry before unhandleable vectoring check https://github.com/kvm-x86/linux/commit/704fc6021b9e [4/7] KVM: VMX: Handle vectoring error in check_emulate_instruction https://github.com/kvm-x86/linux/commit/47ef3ef843c0 [5/7] KVM: SVM: Handle vectoring error in check_emulate_instruction https://github.com/kvm-x86/linux/commit/7bd7ff99110a [6/7] selftests: KVM: extract lidt into helper function https://github.com/kvm-x86/linux/commit/4e9427aeb957 [7/7] selftests: KVM: Add test case for MMIO during vectoring https://github.com/kvm-x86/linux/commit/62e41f6b4f36 -- https://github.com/kvm-x86/linux/tree/next