timer: introduce new QEMU_CLOCK_VIRTUAL_RT clock
authorPavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Wed, 26 Nov 2014 10:40:50 +0000 (13:40 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 15 Dec 2014 11:21:02 +0000 (12:21 +0100)
commit4e7fa73ec2516334b58e82f9a5649b1468b1eb7a
tree00920668f9759856ce14ecd476dab1144d2f2338
parentd8a499f17ee5f05407874f29f69f0e3e3198a853
timer: introduce new QEMU_CLOCK_VIRTUAL_RT clock

This patch introduces new QEMU_CLOCK_VIRTUAL_RT clock, which
should be used for icount warping.  In the next patch, it
will be used to avoid a huge icount warp when a virtual
machine is stopped for a long time.

Signed-off-by: Pavel Dovgalyuk <Pavel.Dovgaluk@ispras.ru>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
include/qemu/timer.h
qemu-timer.c