mirror_ubuntu-kernels/tools/testing/selftests/kvm/include
Sean Christopherson 625646aede KVM: selftests: Use pread() to read binary stats header
Use pread() with an explicit offset when reading the header and the header
name for a binary stats fd so that the common helper and the binary stats
test don't subtly rely on the file effectively being untouched, e.g. to
allow multiple reads of the header, name, etc.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Message-Id: <20230711230131.648752-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-07-29 11:05:28 -04:00
..
aarch64 KVM: selftests: Add a helper for SMCCC calls with SMC instruction 2023-04-05 12:07:42 +01:00
riscv KVM: selftests: Consolidate KVM_{G,S}ET_ONE_REG helpers 2022-06-11 11:47:10 -04:00
s390x KVM: selftests: Define cpu_relax() helpers for s390 and x86 2022-03-08 10:59:11 -05:00
x86_64 KVM selftests, and an AMX/XCR0 bugfix, for 6.4: 2023-04-26 15:56:01 -04:00
guest_modes.h KVM: selftests: Factor out guest mode code 2021-01-07 18:07:29 -05:00
kvm_util_base.h KVM: selftests: Use pread() to read binary stats header 2023-07-29 11:05:28 -04:00
kvm_util.h kvm: selftests: move ucall declarations into ucall_common.h 2022-01-07 13:25:33 -05:00
memstress.h KVM: selftests: Move dirty logging functions to memstress.(c|h) 2023-06-01 14:03:18 -07:00
numaif.h KVM: selftests: Add missing header file needed by xAPIC IPI tests 2021-02-11 08:02:08 -05:00
sparsebit.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.h KVM: selftests: Print expected and actual exit reason in KVM exit reason assert 2023-03-14 10:20:09 -04:00
ucall_common.h KVM: arm64: selftests: Enable single-step without a "full" ucall() 2022-12-02 13:22:31 -05:00
userfaultfd_util.h KVM: selftests: Add a userfaultfd library 2022-11-10 19:10:27 +00:00