Skip to content

KVM: selftests: steal_time cleanups and timespec rework

Andrew Jones kvm 2 versions In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest2 patches 2 repliesIn review
  2. v12 patches 0 repliesSuperseded

Changes in v2 from the cover letter

- Drank a cup of coffee and discovered division... Use division instead of loop in timespec_add_ns.

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2fixup! KVM: selftests: Introduce steal-time testtools/testing/selftests/kvm/steal_time.c+17 -200 replies
2/2KVM: selftests: Rework timespec functions and usagetools/testing/selftests/kvm/demand_paging_test.c tools/testing/selftests/kvm/include/test_util.h tools/testing/selftests/kvm/lib/test_util.c +1 more+35 -442 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] KVM: selftests: steal_time cleanups and timespec rework

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

v2:
- Drank a cup of coffee and discovered division... Use division instead of loop in timespec_add_ns.

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   | 37 ++++++++----------
 tools/testing/selftests/kvm/steal_time.c      | 39 +++++++++----------
 4 files changed, 52 insertions(+), 64 deletions(-)
Signature · 1 line
2.21.1