summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/memslot_perf_test.c
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2023-07-29 02:36:41 +0200
committerSean Christopherson <seanjc@google.com>2023-08-02 23:43:16 +0200
commit7ce7f8e754186f71ba7daffbc99543961a613bba (patch)
treee09f556adeaaf2c7f85369ebaa2b5e478a113998 /tools/testing/selftests/kvm/memslot_perf_test.c
parentKVM: selftests: Convert x86's XCR0 test to use printf-based guest asserts (diff)
downloadlinux-7ce7f8e754186f71ba7daffbc99543961a613bba.tar.xz
linux-7ce7f8e754186f71ba7daffbc99543961a613bba.zip
KVM: selftests: Rip out old, param-based guest assert macros
Drop the param-based guest assert macros and enable the printf versions for all selftests. Note! This change can affect tests even if they don't use directly use guest asserts! E.g. via library code, or due to the compiler making different optimization decisions. Link: https://lore.kernel.org/r/20230729003643.1053367-33-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/testing/selftests/kvm/memslot_perf_test.c')
-rw-r--r--tools/testing/selftests/kvm/memslot_perf_test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/kvm/memslot_perf_test.c b/tools/testing/selftests/kvm/memslot_perf_test.c
index 55f1bc70e571..20eb2e730800 100644
--- a/tools/testing/selftests/kvm/memslot_perf_test.c
+++ b/tools/testing/selftests/kvm/memslot_perf_test.c
@@ -6,8 +6,6 @@
*
* Basic guest setup / host vCPU thread code lifted from set_memory_region_test.
*/
-#define USE_GUEST_ASSERT_PRINTF 1
-
#include <pthread.h>
#include <sched.h>
#include <semaphore.h>