]> xenbits.xensource.com Git - xen.git/commit
x86/hvm: Run the RTC periodic timer on a consistent time series.
authorTim Deegan <tim@xen.org>
Thu, 28 Mar 2013 12:00:46 +0000 (12:00 +0000)
committerTim Deegan <tim@xen.org>
Fri, 29 Mar 2013 09:43:04 +0000 (09:43 +0000)
commit58afa7ef12ff31c1f11658f35a9fef35ca15d641
treeb756fc47704a26c281b39083a9fb7ca435d28a69
parent5082cc19524b6687ef1bc0a717538d75aae7cd00
x86/hvm: Run the RTC periodic timer on a consistent time series.

When the RTC periodic timer gets restarted, align it to the VM's boot
time, not to whatever time it is now.  Otherwise every read of REG_C
will restart the current period

Signed-off-by: Tim Deegan <tim@xen.org>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/rtc.c
xen/include/asm-x86/hvm/vpt.h