diff options
author | Sean Christopherson <seanjc@google.com> | 2023-07-28 17:36:41 -0700 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2023-08-02 14:43:16 -0700 |
commit | 7ce7f8e754186f71ba7daffbc99543961a613bba (patch) | |
tree | e09f556adeaaf2c7f85369ebaa2b5e478a113998 /tools/testing/selftests/kvm/steal_time.c | |
parent | KVM: selftests: Convert x86's XCR0 test to use printf-based guest asserts (diff) | |
download | wireguard-linux-7ce7f8e754186f71ba7daffbc99543961a613bba.tar.xz wireguard-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/steal_time.c')
-rw-r--r-- | tools/testing/selftests/kvm/steal_time.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tools/testing/selftests/kvm/steal_time.c b/tools/testing/selftests/kvm/steal_time.c index 8649c8545882..171adfb2a6cb 100644 --- a/tools/testing/selftests/kvm/steal_time.c +++ b/tools/testing/selftests/kvm/steal_time.c @@ -4,8 +4,6 @@ * * Copyright (C) 2020, Red Hat, Inc. */ -#define USE_GUEST_ASSERT_PRINTF 1 - #define _GNU_SOURCE #include <stdio.h> #include <time.h> |