diff options
| author | Jan Beulich <jbeulich@suse.com> | 2013-07-11 14:21:48 +0200 |
|---|---|---|
| committer | Jan Beulich <jbeulich@suse.com> | 2013-07-11 14:21:48 +0200 |
| commit | 094c1cb9757a3456ea63491a1c0d6016bdfa2711 (patch) | |
| tree | bf7af904d1cbc4d403f3880164d6499b68019dfb /tools/lib/sys_string.h | |
| parent | 8109c123702e2387b0781f3feaa4b53744464009 (diff) | |
| download | xen-094c1cb9757a3456ea63491a1c0d6016bdfa2711.tar.gz xen-094c1cb9757a3456ea63491a1c0d6016bdfa2711.tar.bz2 xen-094c1cb9757a3456ea63491a1c0d6016bdfa2711.zip | |
x86: don't pass negative time to gtime_to_gtsc() (try 2)
This mostly reverts commit eb60be3d ("x86: don't pass negative time to
gtime_to_gtsc()") and instead corrects __update_vcpu_system_time()'s
handling of this_cpu(cpu_time).stime_local_stamp dating back before the
start of a HVM guest (which would otherwise lead to a negative value
getting passed to gtime_to_gtsc(), causing scale_delta() to produce
meaningless output).
Flushing the value to zero was wrong, and printing a message for
something that can validly happen wasn't very useful either.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
master commit: 5ad914bc867c5a6a4957869c89918f4e1f9dd9c4
master date: 2013-07-02 08:48:03 +0200
Diffstat (limited to 'tools/lib/sys_string.h')
0 files changed, 0 insertions, 0 deletions
