linux-xiaomi-chiron/tools/testing/selftests/kvm/lib/x86_64
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
..
apic.c KVM: selftests: Introduce x2APIC register manipulation functions 2021-06-17 13:09:32 -04:00
handlers.S selftests: kvm: remove reassignment of non-absolute variables 2021-05-07 06:06:13 -04:00
processor.c kvm: selftests: introduce and use more page size-related constants 2022-04-21 15:41:01 -04:00
svm.c KVM: selftests: nSVM: Set up MSR-Bitmap for SVM guests 2022-02-10 13:50:47 -05:00
ucall.c selftests: kvm: Clear uc so UCALL_NONE is being properly reported 2020-11-08 06:02:14 -05:00
vmx.c KVM: selftests: Add wrapper to allocate page table page 2021-06-24 11:47:49 -04:00