]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
KVM: selftests: Add support for DIV and IDIV in the fastops test
authorSean Christopherson <seanjc@google.com>
Tue, 9 Sep 2025 20:28:35 +0000 (13:28 -0700)
committerSean Christopherson <seanjc@google.com>
Thu, 11 Sep 2025 15:55:44 +0000 (08:55 -0700)
commitaebc62b3dedce5ef50fc0e945671842f08d41cf6
treeb8de0d61f8581c2d4fa35fad56cb8c6ef2803248
parentfe08478b1d51f3a984d0aed3e22e1809634dd232
KVM: selftests: Add support for DIV and IDIV in the fastops test

Extend the fastops test coverage to DIV and IDIV, specifically to provide
coverage for #DE (divide error) exceptions, as #DE is the only exception
that can occur in KVM's fastops path, i.e. that requires exception fixup.

Link: https://lore.kernel.org/r/20250909202835.333554-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/x86/fastops_test.c