Re: [Xen-devel] [PATCH v3 2/2] arm: export platform_op XENPF_settime64

2015-11-12 Thread Julien Grall
On 12/11/15 11:32, Stefano Stabellini wrote: > On Wed, 11 Nov 2015, Julien Grall wrote: >> On 11/11/15 18:14, Stefano Stabellini wrote: >>> On Wed, 11 Nov 2015, Julien Grall wrote: > diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c > index 1418092..aa0fde6 100644 > ---

Re: [Xen-devel] [PATCH v3 2/2] arm: export platform_op XENPF_settime64

2015-11-12 Thread Stefano Stabellini
On Wed, 11 Nov 2015, Julien Grall wrote: > On 11/11/15 18:14, Stefano Stabellini wrote: > > On Wed, 11 Nov 2015, Julien Grall wrote: > >>> diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c > >>> index 1418092..aa0fde6 100644 > >>> --- a/xen/arch/arm/vtimer.c > >>> +++

Re: [Xen-devel] [PATCH v3 2/2] arm: export platform_op XENPF_settime64

2015-11-11 Thread Julien Grall
Hi Stefano, On 11/11/15 17:19, Stefano Stabellini wrote: > Call update_domain_wallclock_time at domain initialization. > Set time_offset_seconds to the number of seconds between physical boot > and domain initialization: it is going to be used to get/set the > wallclock time. > Add

Re: [Xen-devel] [PATCH v3 2/2] arm: export platform_op XENPF_settime64

2015-11-11 Thread Julien Grall
On 11/11/15 18:14, Stefano Stabellini wrote: > On Wed, 11 Nov 2015, Julien Grall wrote: >>> diff --git a/xen/arch/arm/vtimer.c b/xen/arch/arm/vtimer.c >>> index 1418092..aa0fde6 100644 >>> --- a/xen/arch/arm/vtimer.c >>> +++ b/xen/arch/arm/vtimer.c >>> @@ -22,13 +22,13 @@ >>> #include >>>

Re: [Xen-devel] [PATCH v3 2/2] arm: export platform_op XENPF_settime64

2015-11-11 Thread Stefano Stabellini
On Wed, 11 Nov 2015, Julien Grall wrote: > Hi Stefano, > > On 11/11/15 17:19, Stefano Stabellini wrote: > > Call update_domain_wallclock_time at domain initialization. > > Set time_offset_seconds to the number of seconds between physical boot > > and domain initialization: it is going to be used

[Xen-devel] [PATCH v3 2/2] arm: export platform_op XENPF_settime64

2015-11-11 Thread Stefano Stabellini
Call update_domain_wallclock_time at domain initialization. Set time_offset_seconds to the number of seconds between physical 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