From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel De Graaf Subject: Re: [PATCH v2 2/2] arm: export platform_op XENPF_settime64 Date: Tue, 10 Nov 2015 14:35:18 -0500 Message-ID: <564246F6.7050104@tycho.nsa.gov> References: <1447090362-28317-1-git-send-email-sstabellini@kernel.org> <1447090362-28317-2-git-send-email-sstabellini@kernel.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1447090362-28317-2-git-send-email-sstabellini@kernel.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: sstabellini@kernel.org, xen-devel@lists.xensource.com Cc: Ian.Campbell@citrix.com, Stefano.Stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On 09/11/15 12:32, sstabellini@kernel.org wrote: > From: Stefano Stabellini > > Call update_domain_wallclock_time at domain initialization, specifically > in arch_set_info_guest for vcpu0, like we do on x86. > Set time_offset_seconds to the number of seconds between phisical boot > and domain initialization: it is going to be used to get/set the > wallclock time. > Add time_offset_seconds to system_time when before calling do_settime, > so that system_time actually accounts for all the time in nsec between > machine boot and when the wallclock was set. > > > > Signed-off-by: Stefano Stabellini Acked-by: dgdegra@tycho.nsa.gov