diff options
author | 2024-02-14 12:34:58 -0500 | |
---|---|---|
committer | 2024-02-14 12:34:58 -0500 | |
commit | 2f8ebe43a02596f0a73866e506d2a5b4a5e1d8c2 (patch) | |
tree | 1efdfa972f5e98db7d4f6a861a46b441168a6130 /tools/testing/selftests/kvm/x86_64/flds_emulation.h | |
parent | Merge tag 'kvm-x86-fixes-6.8-rcN' of https://github.com/kvm-x86/linux into HEAD (diff) | |
parent | KVM: selftests: Don't assert on exact number of 4KiB in dirty log split test (diff) | |
download | linux-2f8ebe43a02596f0a73866e506d2a5b4a5e1d8c2.tar.gz linux-2f8ebe43a02596f0a73866e506d2a5b4a5e1d8c2.tar.bz2 linux-2f8ebe43a02596f0a73866e506d2a5b4a5e1d8c2.zip |
Merge tag 'kvm-x86-selftests-6.8-rcN' of https://github.com/kvm-x86/linux into HEAD
KVM selftests fixes/cleanups (and one KVM x86 cleanup) for 6.8:
- Remove redundant newlines from error messages.
- Delete an unused variable in the AMX test (which causes build failures when
compiling with -Werror).
- Fail instead of skipping tests if open(), e.g. of /dev/kvm, fails with an
error code other than ENOENT (a Hyper-V selftest bug resulted in an EMFILE,
and the test eventually got skipped).
- Fix TSC related bugs in several Hyper-V selftests.
- Fix a bug in the dirty ring logging test where a sem_post() could be left
pending across multiple runs, resulting in incorrect synchronization between
the main thread and the vCPU worker thread.
- Relax the dirty log split test's assertions on 4KiB mappings to fix false
positives due to the number of mappings for memslot 0 (used for code and
data that is NOT being dirty logged) changing, e.g. due to NUMA balancing.
- Have KVM's gtod_is_based_on_tsc() return "bool" instead of an "int" (the
function generates boolean values, and all callers treat the return value as
a bool).
Diffstat (limited to 'tools/testing/selftests/kvm/x86_64/flds_emulation.h')
-rw-r--r-- | tools/testing/selftests/kvm/x86_64/flds_emulation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/kvm/x86_64/flds_emulation.h b/tools/testing/selftests/kvm/x86_64/flds_emulation.h index 0a1573d52882..37b1a9f52864 100644 --- a/tools/testing/selftests/kvm/x86_64/flds_emulation.h +++ b/tools/testing/selftests/kvm/x86_64/flds_emulation.h @@ -41,7 +41,7 @@ static inline void handle_flds_emulation_failure_exit(struct kvm_vcpu *vcpu) insn_bytes = run->emulation_failure.insn_bytes; TEST_ASSERT(insn_bytes[0] == 0xd9 && insn_bytes[1] == 0, - "Expected 'flds [eax]', opcode '0xd9 0x00', got opcode 0x%02x 0x%02x\n", + "Expected 'flds [eax]', opcode '0xd9 0x00', got opcode 0x%02x 0x%02x", insn_bytes[0], insn_bytes[1]); vcpu_regs_get(vcpu, ®s); |