qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] pseries: Implement set-time-of-day RTAS functio


From: Alexander Graf
Subject: Re: [Qemu-devel] [PATCH] pseries: Implement set-time-of-day RTAS function
Date: Thu, 29 Sep 2011 15:12:20 +0200

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

> From: Breno Leitao <address@hidden>
> 
> 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 <address@hidden>
> Signed-off-by: David Gibson <address@hidden>

Thanks, applied to ppc-next.


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]