kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] KVM: selftests: steal_time cleanups and timespec rework
@ 2020-03-16 17:37 Andrew Jones
  2020-03-16 17:37 ` [PATCH v2 1/2] fixup! KVM: selftests: Introduce steal-time test Andrew Jones
  2020-03-16 17:37 ` [PATCH v2 2/2] KVM: selftests: Rework timespec functions and usage Andrew Jones
  0 siblings, 2 replies; 5+ messages in thread
From: Andrew Jones @ 2020-03-16 17:37 UTC (permalink / raw)
  To: kvm; +Cc: pbonzini

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(-)

-- 
2.21.1


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-03-18 14:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-16 17:37 [PATCH v2 0/2] KVM: selftests: steal_time cleanups and timespec rework Andrew Jones
2020-03-16 17:37 ` [PATCH v2 1/2] fixup! KVM: selftests: Introduce steal-time test Andrew Jones
2020-03-16 17:37 ` [PATCH v2 2/2] KVM: selftests: Rework timespec functions and usage Andrew Jones
2020-03-18 13:10   ` Paolo Bonzini
2020-03-18 14:58     ` Andrew Jones

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).