Message ID | 20240314185459.2439072-1-seanjc@google.com (mailing list archive) |
---|---|
Headers | show |
Series | KVM: selftests: Introduce vcpu_arch_put_guest() | expand |
On Thu, 14 Mar 2024 11:54:53 -0700, Sean Christopherson wrote: > The end goal of this series is to add a regression test for commit > 910c57dfa4d1 ("KVM: x86: Mark target gfn of emulated atomic instruction > as dirty"), *without* polluting the common dirty_log_test.c code with > gory x86 details. > > The regression test requires forcing KVM to emulate a guest atomic RMW > access, which is done via a magic instruction prefix/opcode that is > guarded by an off-by-default KVM module param. > > [...] Applied to kvm-x86 selftests_utils, thanks! [1/5] KVM: selftests: Provide a global pseudo-RNG instance for all tests https://github.com/kvm-x86/linux/commit/cb6c6914788f [2/5] KVM: selftests: Provide an API for getting a random bool from an RNG https://github.com/kvm-x86/linux/commit/73369acd9fbd [3/5] KVM: selftests: Add global snapshot of kvm_is_forced_emulation_enabled() https://github.com/kvm-x86/linux/commit/e1ff11525d3c [4/5] KVM: selftests: Add vcpu_arch_put_guest() to do writes from guest code https://github.com/kvm-x86/linux/commit/2f2bc6af6aa8 [5/5] KVM: selftests: Randomly force emulation on x86 writes from guest code https://github.com/kvm-x86/linux/commit/87aa264cd89d -- https://github.com/kvm-x86/linux/tree/next