diff options
author | Breno Leitao <brenohl@br.ibm.com> | 2011-09-28 16:53:16 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-10-06 09:48:09 +0200 |
commit | ac26f8c3891dde7a3fc7f24a3a87905df843d905 (patch) | |
tree | 094e85b6026005b5df614a9921089fd15432e84c /block-migration.h | |
parent | e6c866d417d1a09536f489e66c21cf49b7ec60b6 (diff) |
pseries: Implement set-time-of-day RTAS function
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 <brenohl@br.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'block-migration.h')
0 files changed, 0 insertions, 0 deletions