aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/kvm/lib/perf_test_util.c
diff options
context:
space:
mode:
authorPeter Shier <[email protected]>2020-11-05 22:38:23 +0000
committerPaolo Bonzini <[email protected]>2021-02-04 10:27:17 +0000
commit678e90a349a4c22082c1609335ea688f5d4a7139 (patch)
treed8e49bd6b437602e2f6e4e8a9ea9bed079f40c7a /tools/testing/selftests/kvm/lib/perf_test_util.c
parentKVM: Expose AVX_VNNI instruction to guset (diff)
downloadkernel-678e90a349a4c22082c1609335ea688f5d4a7139.tar.gz
kernel-678e90a349a4c22082c1609335ea688f5d4a7139.zip
KVM: selftests: Test IPI to halted vCPU in xAPIC while backing page moves
When a guest is using xAPIC KVM allocates a backing page for the required EPT entry for the APIC access address set in the VMCS. If mm decides to move that page the KVM mmu notifier will update the VMCS with the new HPA. This test induces a page move to test that APIC access continues to work correctly. It is a directed test for commit e649b3f0188f "KVM: x86: Fix APIC page invalidation race". Tested: ran for 1 hour on a skylake, migrating backing page every 1ms Depends on patch "selftests: kvm: Add exception handling to selftests" from [email protected] that has not yet been queued. Signed-off-by: Peter Shier <[email protected]> Reviewed-by: Jim Mattson <[email protected]> Reviewed-by: Ricardo Koller <[email protected]> Message-Id: <[email protected]> Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/perf_test_util.c')
0 files changed, 0 insertions, 0 deletions