]> xenbits.xensource.com Git - people/aperard/xen-arm.git/commit
x86/hvm: fix RTC setting.
authorTim Deegan <tim@xen.org>
Fri, 18 Jan 2013 11:31:57 +0000 (12:31 +0100)
committerTim Deegan <tim@xen.org>
Fri, 18 Jan 2013 11:31:57 +0000 (12:31 +0100)
commite18ccd8fcfae88190c7f3dba8ef02042666b56b3
tree3a47890bf9ae6dfa5f2abc77f23b027b22205d35
parentd3f3afe72d93afb0b9b88f913c925c0ce45c0eee
x86/hvm: fix RTC setting.

When the guest writes one field of the RTC time, we must bring all the
other fields up to date for the current second before calculating the
new RTC time.

Signed-off-by: Tim Deegan <tim@xen.org>
Tested-by: Phil Evans <Phil.Evans@m247.com>
Committed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/rtc.c