commit | bfcaa84975fa0c75deca3e997533aaa35ffed12b | [log] [tgz] |
---|---|---|
author | Andrew Jones <drjones@redhat.com> | Mon Mar 16 18:37:03 2020 +0100 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Wed Mar 18 14:08:56 2020 +0100 |
tree | 43be2463bbd76e3fdfc167b1aeca17ba5e4ed15a | |
parent | cf6c26ec7bf5386706cd6522708766eb6522995e [diff] |
KVM: selftests: Rework timespec functions and usage The steal_time test's timespec stop condition was wrong and should have used the timespec functions instead to avoid being wrong, but timespec_diff had a strange interface. Rework all the timespec API and its use. Signed-off-by: Andrew Jones <drjones@redhat.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>