linux/tools/testing/selftests/kvm
Sean Christopherson 3b2d3db368 KVM: selftests: Fix printf() format goof in SEV smoke test
Print out the index of mismatching XSAVE bytes using unsigned decimal
format.  Some versions of clang complain about trying to print an integer
as an unsigned char.

  x86/sev_smoke_test.c:55:51: error: format specifies type 'unsigned char'
                                     but the argument has type 'int' [-Werror,-Wformat]

Fixes: 8c53183dba ("selftests: kvm: add test for transferring FPU state into VMSA")
Link: https://lore.kernel.org/r/20250228233852.3855676-1-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
2025-03-03 07:45:34 -08:00
..
arm64 KVM/arm64 updates for 6.14 2025-01-28 09:01:36 -08:00
include KVM: selftests: Add test case for MMIO during vectoring on x86 2024-12-18 15:14:47 -08:00
lib KVM: selftests: Use canonical $(ARCH) paths for KVM selftests directories 2024-12-18 14:15:04 -08:00
riscv KVM/riscv changes for 6.14 2025-01-20 07:01:17 -05:00
s390 KVM: selftests: Fix spelling mistake "initally" -> "initially" 2025-02-04 11:15:24 -05:00
x86 KVM: selftests: Fix printf() format goof in SEV smoke test 2025-03-03 07:45:34 -08:00
.gitignore KVM: selftests: Provide empty 'all' and 'clean' targets for unsupported ARCHs 2024-12-18 14:15:03 -08:00
Makefile KVM: selftests: Override ARCH for x86_64 instead of using ARCH_DIR 2024-12-18 14:15:05 -08:00
Makefile.kvm KVM: selftests: Override ARCH for x86_64 instead of using ARCH_DIR 2024-12-18 14:15:05 -08:00
access_tracking_perf_test.c
arch_timer.c Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h" 2024-04-29 12:54:13 -07:00
coalesced_io_test.c KVM: selftests: Add a test for coalesced MMIO (and PIO on x86) 2024-08-29 19:38:33 -07:00
config
demand_paging_test.c KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
dirty_log_perf_test.c KVM: selftests: Use canonical $(ARCH) paths for KVM selftests directories 2024-12-18 14:15:04 -08:00
dirty_log_test.c Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h" 2024-04-29 12:54:13 -07:00
get-reg-list.c
guest_memfd_test.c KVM: selftests: fix unintentional noop test in guest_memfd_test.c 2024-11-04 21:10:28 -08:00
guest_print_test.c KVM: selftests: Open code vcpu_run() equivalent in guest_printf test 2024-08-29 16:25:06 -07:00
hardware_disable_test.c KVM: selftests: Remove unused macro in the hardware disable test 2024-10-30 13:51:46 -07:00
kvm_binary_stats_test.c KVM: selftests: Define _GNU_SOURCE for all selftests code 2024-04-29 12:49:10 -07:00
kvm_create_max_vcpus.c KVM: selftests: Define _GNU_SOURCE for all selftests code 2024-04-29 12:49:10 -07:00
kvm_page_table_test.c Revert "kvm: selftests: move base kvm_util.h declarations to kvm_util_base.h" 2024-04-29 12:54:13 -07:00
memslot_modification_stress_test.c KVM: selftests: Fix build on architectures other than x86_64 2024-10-01 11:07:26 -04:00
memslot_perf_test.c KVM: selftests: memslot_perf_test: increase guest sync timeout 2024-11-04 21:04:10 -08:00
mmu_stress_test.c KVM: selftests: Ensure all vCPUs hit -EFAULT during initial RO stage 2025-03-03 07:37:28 -08:00
pre_fault_memory_test.c KVM: selftests: x86: Add test for KVM_PRE_FAULT_MEMORY 2024-07-12 11:18:27 -04:00
rseq_test.c KVM selftests treewide updates for 6.10: 2024-05-12 03:18:11 -04:00
set_memory_region_test.c KVM: selftests: Add test case for MMIO during vectoring on x86 2024-12-18 15:14:47 -08:00
settings
steal_time.c KVM: selftests: Return a value from vcpu_get_reg() instead of using an out-param 2024-12-18 14:14:14 -08:00
system_counter_offset_test.c