linux-xiaomi-chiron/tools/testing/selftests/kvm/lib
Paolo Bonzini e852be8b14 kvm: selftests: introduce and use more page size-related constants
Clean up code that was hardcoding masks for various fields,
now that the masks are included in processor.h.

For more cleanup, define PAGE_SIZE and PAGE_MASK just like in Linux.
PAGE_SIZE in particular was defined by several tests.

Suggested-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2022-04-21 15:41:01 -04:00
..
aarch64
riscv
s390x
x86_64
assert.c
elf.c
guest_modes.c
io.c
kvm_util.c
kvm_util_internal.h
perf_test_util.c
rbtree.c
sparsebit.c
test_util.c