* problems with guests time and date
@ 2009-04-22 7:11 Riccardo Veraldi
2009-04-22 9:04 ` Michael Tokarev
0 siblings, 1 reply; 2+ messages in thread
From: Riccardo Veraldi @ 2009-04-22 7:11 UTC (permalink / raw)
To: kvm
Hello,
I have a problem.
my host with KVM has correct date set.
All the quests has a date 2 hours disaligned, and everytime they boot I must
ntpdate hte KVM guests.
How to solve this problem ?
guest at boot time
22 Apr 09:08:02 ntpdate[1901]: step time server x.y.z.t offset
7297.100104 sec
this si the guest
[root@abbone ~]# date
Wed Apr 22 09:09:52 CEST 2009
[root@abbone ~]# hwclock
Wed 22 Apr 2009 07:08:19 AM CEST -0.306596 seconds
this the host
[root@xenserver2 guest]# hwclock
Wed 22 Apr 2009 09:08:46 AM CEST -0.078768 seconds
thanks
Rick
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: problems with guests time and date
2009-04-22 7:11 problems with guests time and date Riccardo Veraldi
@ 2009-04-22 9:04 ` Michael Tokarev
0 siblings, 0 replies; 2+ messages in thread
From: Michael Tokarev @ 2009-04-22 9:04 UTC (permalink / raw)
To: Riccardo Veraldi; +Cc: kvm
Riccardo Veraldi wrote:
> Hello,
> I have a problem.
> my host with KVM has correct date set.
> All the quests has a date 2 hours disaligned, and everytime they boot I
What's your timezone offset from UTC? Here's the Date: header from
your email:
Date: Wed, 22 Apr 2009 09:11:03 +0200
Don't you see the problem already? :)
> must
> ntpdate hte KVM guests.
> How to solve this problem ?
Take a look at -localtime kvm/qemu option. And/or teach your guests
to use UTC time as they should.
/mjt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-04-22 9:04 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-22 7:11 problems with guests time and date Riccardo Veraldi
2009-04-22 9:04 ` Michael Tokarev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox