From: Pavel@Janik.cz (Pavel Janík)
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Changing RTC from UTC to local time
Date: Mon, 31 May 2004 15:53:43 +0200 [thread overview]
Message-ID: <877jus3dp4.fsf@Janik.cz> (raw)
In-Reply-To: <40BA36CA.6070805@fabianowski.de> (Bartosz Fabianowski's message of "Sun, 30 May 2004 21:32:26 +0200")
From: Bartosz Fabianowski <bartosz@fabianowski.de>
Date: Sun, 30 May 2004 21:32:26 +0200
This is multi-reply.
> Attached is a revised patch. With this patch, the default time zone
> for the RTC is the local time zone of the host. If the command line
> option "-utc" is specified, the time zone changes to UTC.
I vote against this change. It is nonsense to have local time in UTC
because then when you work on the system that has TZ1 time in BIOS and you
work in TZ2, you can't set your time accordingly, because you must know the
TZ1 vs. TZ2 offset. It *should* be enough to know your own timezone to set
the correct date and time.
On the other hand, I agree that having the possibility to change CMOS time
to local could be handy for those who use broken systems like Microsoft
Windows is.
From: Flavien <flavien-qemu@lebarbe.net>
Date: Sun, 30 May 2004 23:59:49 +0200
> Conclusion : setting RTC to local time is a _broken_ concept.
+1. Also imagine you boot your system in 2:30 the day when time moves back
from 03:00 to 02:00, ie. there are two moments 02:30. Which one it is?
From: Bartosz Fabianowski <bartosz@fabianowski.de>
Date: Mon, 31 May 2004 14:11:18 +0200
> > RTC. The host OS will provide the correct time as the fake RTC value.
>
> My point exactly. Your host operating system is most likely one you use
> quite a lot so chances are you will have set it up correctly to take
> care of DST adjustments.
I often run QEMU on my other system I have in US. I'm in Europe. I do not
want to *always* have bad time... My system in US always gives me right
time now - it is in UTC so it is pretty easy to setup - just say the TZ you
want to have in your host system. I can't imagine how I could do that
should the system use US local time if I want to use Czech local time.
> b) a safe default that makes all OSes work - which is local time
You still think like Windows only user. Please stop that. This is not safe
default. This would be default that hurts many people, but not Windows
users. This is not "safe".
--
Pavel Janík
That's the problem: pretesters aren't finding many more bugs nowadays,
so it'll probably take until 2005 to find and fix enough bugs that we
can comfortably announce the code stable.
-- Stefan Monnier in comp.emacs
next prev parent reply other threads:[~2004-05-31 13:55 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-29 14:39 [Qemu-devel] Changing RTC from UTC to local time Bartosz Fabianowski
2004-05-29 17:23 ` Kyle Hayes
2004-05-29 18:50 ` Bartosz Fabianowski
2004-05-29 23:13 ` Tim
2004-05-29 23:23 ` Bartosz Fabianowski
2004-05-30 4:52 ` John R. Hogerhuis
2004-05-30 19:32 ` Bartosz Fabianowski
2004-05-30 19:42 ` Kyle Hayes
2004-05-31 13:53 ` Pavel Janík [this message]
2004-05-31 14:20 ` Bartosz Fabianowski
2004-05-31 14:51 ` Fabrice Bellard
2004-05-31 14:51 ` Bartosz Fabianowski
2004-05-31 15:12 ` Derek Fawcus
2004-05-31 16:43 ` Tim
2004-05-31 16:27 ` Pavel Janík
2004-05-31 17:09 ` Kyle Hayes
2004-05-30 21:59 ` Flavien
2004-05-31 0:29 ` Bartosz Fabianowski
2004-05-31 1:52 ` Kyle Hayes
2004-05-31 12:11 ` Bartosz Fabianowski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877jus3dp4.fsf@Janik.cz \
--to=pavel@janik.cz \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.