diff options
author | Axel Rasmussen <[email protected]> | 2021-05-19 13:03:34 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2021-05-27 07:45:56 -0400 |
commit | 0368c2c1b422c94968b5286f289aed7fe6af93c2 (patch) | |
tree | a68647d89f3884976ef0099dec2f3a5798ec18d1 /tools/testing/selftests/kvm/lib/test_util.c | |
parent | 32ffa4f71e10009498ae6b54da65ab316db967bd (diff) |
KVM: selftests: allow different backing source types
Add an argument which lets us specify a different backing memory type
for the test. The default is just to use anonymous, matching existing
behavior.
This is in preparation for testing UFFD minor faults. For that, we'll
need to use a new backing memory type which is setup with MAP_SHARED.
Signed-off-by: Axel Rasmussen <[email protected]>
Message-Id: <[email protected]>
Reviewed-by: Ben Gardon <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/testing/selftests/kvm/lib/test_util.c')
0 files changed, 0 insertions, 0 deletions