diff options
author | Axel Rasmussen <axelrasmussen@google.com> | 2021-05-19 13:03:34 -0700 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-05-27 07:45:56 -0400 |
commit | 0368c2c1b422c94968b5286f289aed7fe6af93c2 (patch) | |
tree | a68647d89f3884976ef0099dec2f3a5798ec18d1 /tools/io_uring/io_uring-bench.c | |
parent | 32ffa4f71e10009498ae6b54da65ab316db967bd (diff) | |
download | linux-0368c2c1b422c94968b5286f289aed7fe6af93c2.tar.bz2 |
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 <axelrasmussen@google.com>
Message-Id: <20210519200339.829146-6-axelrasmussen@google.com>
Reviewed-by: Ben Gardon <bgardon@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/io_uring/io_uring-bench.c')
0 files changed, 0 insertions, 0 deletions