]> git.ipfire.org Git - thirdparty/linux.git/commit
KVM: selftests: Use vcpu_arch_put_guest() in mmu_stress_test
authorSean Christopherson <seanjc@google.com>
Thu, 28 Nov 2024 00:55:41 +0000 (16:55 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 18 Dec 2024 22:14:59 +0000 (14:14 -0800)
commit3a042252640450fd288c56953bf21583d5198fba
treef72560026be7512edbf29800bc9e7ca25309da68
parent8abe7632a1eebdfac2c553a21b4f980db416c166
KVM: selftests: Use vcpu_arch_put_guest() in mmu_stress_test

Use vcpu_arch_put_guest() to write memory from the guest in
mmu_stress_test as an easy way to provide a bit of extra coverage.

Reviewed-by: James Houghton <jthoughton@google.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Link: https://lore.kernel.org/r/20241128005547.4077116-11-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/mmu_stress_test.c