On 29.09.2011, at 04:53, David Gibson wrote:

> From: Breno Leitao <bren...@br.ibm.com>
> 
> Currently there is no implementation for set-time-of-day rtas function,
> which causes the following warning "setting the clock failed (-1)" on
> the guest.
> 
> This patch just creates this function, get the timedate diff and store in
> the papr environment, so that the correct value will be returned by
> get-time-of-day.
> 
> In order to try it, just adjust the hardware time, run hwclock --systohc,
> so that, on when the system runs hwclock --hctosys, the value is correctly
> adjusted, i.e. the host time plus the timediff.
> 
> Signed-off-by: Breno Leitao <bren...@br.ibm.com>
> Signed-off-by: David Gibson <da...@gibson.dropbear.id.au>

Thanks, applied to ppc-next.


Alex


Reply via email to