]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: selftests: Only muck with SREGS on x86 in mmu_stress_test
authorSean Christopherson <seanjc@google.com>
Thu, 28 Nov 2024 00:55:37 +0000 (16:55 -0800)
committerSean Christopherson <seanjc@google.com>
Wed, 18 Dec 2024 22:14:55 +0000 (14:14 -0800)
commit55e164df482a48e168b26994197c2a848aae5959
tree615da32ee96102c419e416b25bfe3e185a3a4525
parentb12391498d1e7ee49390cda34df4a5cc21700e9f
KVM: selftests: Only muck with SREGS on x86 in mmu_stress_test

Try to get/set SREGS in mmu_stress_test only when running on x86, as the
ioctls are supported only by x86 and PPC, and the latter doesn't yet
support KVM selftests.

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