-
由 Ed Swierk 提交于
Calling gettimeofday() to compute a time interval can cause problems if the system clock jumps forwards or backwards; replace updtime() with qemu_get_clock(rt_clock), which calls clock_gettime(CLOCK_MONOTONIC) if it is available. Also remove some useless macros. Signed-off-by: NEd Swierk <eswierk@aristanetworks.com> Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
aaf10d9d