The first patch is a couple changes to steal_time that came to mind after posting. The second one reworks the timespec functions and their use. It then applies them to the fixing of the stop condition of steal_time:do_steal_time Andrew Jones (2): fixup! KVM: selftests: Introduce steal-time test KVM: selftests: Rework timespec functions and usage .../selftests/kvm/demand_paging_test.c | 37 +++++++--------- .../testing/selftests/kvm/include/test_util.h | 3 +- tools/testing/selftests/kvm/lib/test_util.c | 42 +++++++++++-------- tools/testing/selftests/kvm/steal_time.c | 39 ++++++++--------- 4 files changed, 60 insertions(+), 61 deletions(-) -- 2.21.1