Re: [Xen-devel] [PATCH] x86/hvm/rtc: preserved guest RTC offset during suspend/resume/migrate

2019-12-23 Thread Julien Grall
Hi Paul, On 18/12/2019 15:41, Paul Durrant wrote: The emulated RTC is synchronized with the PV wallclock; any write to the RTC will update struct domain's 'time_offset_seconds' field and call update_domain_wallclock(). However, the value of 'time_offset_seconds' is not preserved in any save

Re: [Xen-devel] [PATCH] x86/hvm/rtc: preserved guest RTC offset during suspend/resume/migrate

2019-12-19 Thread Durrant, Paul
> -Original Message- > From: Jan Beulich > Sent: 19 December 2019 11:30 > To: Durrant, Paul > Cc: xen-devel@lists.xenproject.org; Stefano Stabellini > ; Julien Grall ; Volodymyr Babchuk > ; Andrew Cooper ; > George Dunlap ; Ian Jackson > ; Konrad Rzeszutek Wilk > ; Wei Liu ; Roger Pau

Re: [Xen-devel] [PATCH] x86/hvm/rtc: preserved guest RTC offset during suspend/resume/migrate

2019-12-19 Thread Jan Beulich
On 18.12.2019 15:41, Paul Durrant wrote: > The emulated RTC is synchronized with the PV wallclock; any write to the > RTC will update struct domain's 'time_offset_seconds' field and call > update_domain_wallclock(). > > However, the value of 'time_offset_seconds' is not preserved in any save >

[Xen-devel] [PATCH] x86/hvm/rtc: preserved guest RTC offset during suspend/resume/migrate

2019-12-18 Thread Paul Durrant
The emulated RTC is synchronized with the PV wallclock; any write to the RTC will update struct domain's 'time_offset_seconds' field and call update_domain_wallclock(). However, the value of 'time_offset_seconds' is not preserved in any save record and indeed, when the RTC save record is loaded,