diff options
| author | Yosry Ahmed <yosry@kernel.org> | 2026-07-28 17:42:32 +0000 |
|---|---|---|
| committer | Sean Christopherson <seanjc@google.com> | 2026-07-29 05:48:19 -0700 |
| commit | 583ad2052ddd6f84674b7122d9e39085d1781459 (patch) | |
| tree | a3a756d083b0abff70bc6f9dd0e9e9c26d944972 /scripts/git.orderFile | |
| parent | 1494b3d17c958f00258ef6d6efa9d3a33d373db4 (diff) | |
| download | linux-583ad2052ddd6f84674b7122d9e39085d1781459.tar.gz linux-583ad2052ddd6f84674b7122d9e39085d1781459.zip | |
KVM: selftests: Trigger L2->L1 exits stress save+restore and #PF test
Extend the testing coverage in L2 by forcing a nested VM-Exit from L2 to
L1 right after restore on every other iteration. Forcing a nested
VM-Exit while L0 has control (e.g. without explicitly running L2 and
making a hypercall) is valuable, as it often happens during live
migration (e.g. L1 timer interrupt fires by the time the VM lands on the
destination).
To force the nested VM-Exit inject a #UD in to the saved vCPU state, and
intercept #UD from L1.
With this change, the test reliably reproduces the CR2 bug fixed by
commit 5c247d08bc81 ("KVM: nSVM: Use vcpu->arch.cr2 when updating vmcb12
on nested #VMEXIT") -- at least on Milan, Genoa, and Turin CPUs.
Assisted-by: Gemini:gemini-3.1-pro
Signed-off-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260728174232.2423257-14-yosry@kernel.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'scripts/git.orderFile')
0 files changed, 0 insertions, 0 deletions
