OpenCloudOS-Kernel/tools/testing/selftests/kvm/lib
Aaron Lewis 6528fc0a11 selftests: kvm: Mmap the entire vcpu mmap area
The vcpu mmap area may consist of more than just the kvm_run struct.
Allocate enough space for the entire vcpu mmap area. Without this, on
x86, the PIO page, for example, will be missing.  This is problematic
when dealing with an unhandled exception from the guest as the exception
vector will be incorrectly reported as 0x0.

Message-Id: <20210210165035.3712489-1-aaronlewis@google.com>
Reviewed-by: Andrew Jones <drjones@redhat.com>
Co-developed-by: Steve Rutherford <srutherford@google.com>
Signed-off-by: Aaron Lewis <aaronlewis@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2021-03-02 14:30:53 -05:00
..
aarch64 KVM: selftests: Make vm_create_default common 2020-11-15 09:49:19 -05:00
s390x KVM: s390: Features and Test for 5.11 2020-12-12 03:58:31 -05:00
x86_64 selftests: kvm: avoid uninitialized variable warning 2021-02-15 11:42:45 -05:00
assert.c KVM: selftests: Use consistent message for test skipping 2020-03-16 17:59:05 +01:00
elf.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
guest_modes.c KVM: selftests: Factor out guest mode code 2021-01-07 18:07:29 -05:00
io.c selftests: kvm: Uses TEST_FAIL in tests/utilities 2020-03-16 17:59:11 +01:00
kvm_util.c selftests: kvm: Mmap the entire vcpu mmap area 2021-03-02 14:30:53 -05:00
kvm_util_internal.h KVM: selftests: Add dirty ring buffer test 2020-11-15 09:49:17 -05:00
perf_test_util.c KVM: selftests: Add backing src parameter to dirty_log_perf_test 2021-02-04 05:27:19 -05:00
sparsebit.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 482 2019-06-19 17:09:52 +02:00
test_util.c KVM: selftests: Add backing src parameter to dirty_log_perf_test 2021-02-04 05:27:19 -05:00