Dan Kenigsberg has submitted this change and it was merged.
Change subject: vdsm: fix RTC offset ......................................................................
vdsm: fix RTC offset
Upon RTC update (hwclock --systohc) on the guest side, libvirt sends the event with RTC offset from the qemu start -rtc value in seconds. The received offset should not replace the previous value, but should be added to it. Since the time update event is relative to the qemu start time, we should store the initial value and use it for the calculation.
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=956741 Change-Id: I27c70a53f64fb05607e93bffbac25fdee7d1cd2a Signed-off-by: Peter V. Saveliev peet@redhat.com Reviewed-on: http://gerrit.ovirt.org/14750 Tested-by: Martin Polednik mpoledni@redhat.com Reviewed-by: Dan Kenigsberg danken@redhat.com Reviewed-on: http://gerrit.ovirt.org/24196 Reviewed-by: Martin Polednik mpoledni@redhat.com --- M vdsm/vm.py 1 file changed, 4 insertions(+), 2 deletions(-)
Approvals: Dan Kenigsberg: Looks good to me, approved Martin Polednik: Verified; Looks good to me, but someone else must approve