Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BUYLe-0008WV-LV for qemu-devel@nongnu.org; Sun, 30 May 2004 18:00:07 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BUYLc-0008W2-9i for qemu-devel@nongnu.org; Sun, 30 May 2004 18:00:05 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BUYLc-0008Vz-20 for qemu-devel@nongnu.org; Sun, 30 May 2004 18:00:04 -0400 Received: from [193.252.22.27] (helo=mwinf0404.wanadoo.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BUYLQ-0004DW-21 for qemu-devel@nongnu.org; Sun, 30 May 2004 17:59:52 -0400 Received: from diplo.flavsfarm (ABoulogne-111-1-3-55.w193-253.abo.wanadoo.fr [193.253.245.55]) by mwinf0404.wanadoo.fr (SMTP Server) with ESMTP id 58B2E3800118 for ; Sun, 30 May 2004 23:59:50 +0200 (CEST) Received: from flavien by diplo.flavsfarm with local (Exim 3.36 #1 (Debian)) id 1BUYLN-0002Q8-00 for ; Sun, 30 May 2004 23:59:49 +0200 Date: Sun, 30 May 2004 23:59:49 +0200 From: Flavien Subject: Re: [Qemu-devel] Changing RTC from UTC to local time Message-ID: <20040530215949.GB5521@lebarbe.net> References: <40B8A0B1.3040601@fabianowski.de> <200405291023.18228.kyle@silverbeach.net> <40B8DB75.5050005@fabianowski.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <40B8DB75.5050005@fabianowski.de> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Hello, Bartosz Fabianowski wrote : > > You can set a PC's RTC to UTC or any other time zone for that > matter if you want to. However, according to the original > design (dating back to the olden days of the first IBM PC), the > RTC should be running in local time. Just a thought : There is a problem with setting RTC to local time with daylight savings, when running multiple OSs on the same hardware. If an OS expects RTC clock to be local, then you'd better only one OS on that system, otherwise you'll get into trouble twice a year. Example : 1/ Install two instances of windows on the same machine, 2/ Only boot one of them daily for 6 months, 3/ Wait for daylight saving time, still working with that same version of windows : It will change RTC clock and run fine. 4/ Boot the other windows : It will think "oh, I have'nt been run for a long time. And what happened during that time ? Time changed ! So, let's change RTC clock !". Your RTC clock will have been change twice. Conclusion : setting RTC to local time is a _broken_ concept. Flavien.