aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/x86/nested_exceptions_test.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-11-28 00:55:38 +0000
committerSean Christopherson <[email protected]>2024-12-18 22:14:56 +0000
commit1ddd3ea75ac3be79dbd800507dd7e08928bd454d (patch)
treec3210204c844a3efe93eaa54db68484aa9511f36 /tools/testing/selftests/kvm/x86/nested_exceptions_test.c
parentKVM: selftests: Only muck with SREGS on x86 in mmu_stress_test (diff)
downloadkernel-1ddd3ea75ac3be79dbd800507dd7e08928bd454d.tar.gz
kernel-1ddd3ea75ac3be79dbd800507dd7e08928bd454d.zip
KVM: selftests: Compute number of extra pages needed in mmu_stress_test
Create mmu_stress_tests's VM with the correct number of extra pages needed to map all of memory in the guest. The bug hasn't been noticed before as the test currently runs only on x86, which maps guest memory with 1GiB pages, i.e. doesn't need much memory in the guest for page tables. Reviewed-by: James Houghton <[email protected]> Reviewed-by: Andrew Jones <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/x86/nested_exceptions_test.c')
0 files changed, 0 insertions, 0 deletions