Re: [PATCH v3 05/10] selftests: kvm: s390: Add debug print functions

2024-08-01 Thread Janosch Frank
On 7/30/24 9:24 AM, Christoph Schlameuss wrote: [...] +#endif /* SELFTEST_KVM_DEBUG_PRINT_H */ diff --git a/tools/testing/selftests/kvm/s390x/ucontrol_test.c b/tools/testing/selftests/kvm/s390x/ucontrol_test.c index d103a92e7495..029233374465 100644 --- a/tools/testing/selftests/kvm/s390x/ucont

[PATCH v3 05/10] selftests: kvm: s390: Add debug print functions

2024-07-30 Thread Christoph Schlameuss
Add functions to simply print some basic state information in selftests. The output can be enabled by setting: #define TH_LOG_ENABLED 1 #define DEBUG 1 * print_psw: current SIE state description and VM run state * print_hex_bytes: print memory with some counting markers * print_hex: PRIN