summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/kvm/include/test_util.h
diff options
context:
space:
mode:
authorBen Gardon <bgardon@google.com>2020-02-20 18:09:59 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:56:58 +0100
commit0119cb365c93621535187c7527486c3b378a622d (patch)
tree6655f3ffdc7c21652ff27ba57306b2f1d6aeb245 /tools/testing/selftests/kvm/include/test_util.h
parent4f72180eb4da9ce0bad2f284e81875bb15ecfbb7 (diff)
KVM: selftests: Add configurable demand paging delay
When running the demand paging test with the -u option, the User Fault FD handler essentially adds an arbitrary delay to page fault resolution. To enable better simulation of a real demand paging scenario, add a configurable delay to the UFFD handler. Reviewed-by: Peter Xu <peterx@redhat.com> Signed-off-by: Ben Gardon <bgardon@google.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/testing/selftests/kvm/include/test_util.h')
0 files changed, 0 insertions, 0 deletions