On 13/03/20 16:56, Andrew Jones wrote: > Test steal/stolen-time on x86 and AArch64 to make sure what gets > reported to the guest is consistent with run-delay. > > The first patch of this series is just kvm selftests API cleanup. The > series is based on kvm/queue and some in-flight patches that are also > based on kvm/queue > KVM: selftests: Share common API documentation > KVM: selftests: Enable printf format warnings for TEST_ASSERT > KVM: selftests: Use consistent message for test skipping > KVM: selftests: s390x: Provide additional num-guest-pages adjustment > > Thanks, > drew > > > Andrew Jones (2): > KVM: selftests: virt_map should take npages, not size > KVM: selftests: Introduce steal-time test > > tools/testing/selftests/kvm/.gitignore | 2 + > tools/testing/selftests/kvm/Makefile | 12 +- > .../selftests/kvm/demand_paging_test.c | 3 +- > tools/testing/selftests/kvm/dirty_log_test.c | 3 +- > .../testing/selftests/kvm/include/kvm_util.h | 7 +- > .../testing/selftests/kvm/include/test_util.h | 1 + > tools/testing/selftests/kvm/lib/kvm_util.c | 17 +- > tools/testing/selftests/kvm/lib/test_util.c | 15 + > tools/testing/selftests/kvm/steal_time.c | 352 ++++++++++++++++++ > .../kvm/x86_64/set_memory_region_test.c | 2 +- > .../selftests/kvm/x86_64/vmx_dirty_log_test.c | 11 +- > 11 files changed, 401 insertions(+), 24 deletions(-) > create mode 100644 tools/testing/selftests/kvm/steal_time.c > Queued, thanks. Paolo