From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MncB4-0006L2-Fa for qemu-devel@nongnu.org; Tue, 15 Sep 2009 13:50:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MncAz-0006Ki-QL for qemu-devel@nongnu.org; Tue, 15 Sep 2009 13:50:53 -0400 Received: from [199.232.76.173] (port=46669 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MncAz-0006Kf-Lb for qemu-devel@nongnu.org; Tue, 15 Sep 2009 13:50:49 -0400 Received: from mail2.shareable.org ([80.68.89.115]:52401) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MncAz-00049R-9V for qemu-devel@nongnu.org; Tue, 15 Sep 2009 13:50:49 -0400 Date: Tue, 15 Sep 2009 18:50:41 +0100 From: Jamie Lokier Message-ID: <20090915175041.GA2786@shareable.org> References: <20090915113603.8313.49563.stgit@mchn012c.ww002.siemens.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090915113603.8313.49563.stgit@mchn012c.ww002.siemens.net> Subject: [Qemu-devel] Re: [PATCH v3 0/5] Improve PC RTC emulation List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Blue Swirl , Dor Laor , Anthony Liguori , Glauber Costa , qemu-devel@nongnu.org Jan Kiszka wrote: > The aim of this series is to allow using the emulated PC RTC (MC146818) > as a reliable time source for guests. This is particularly useful if the > host runs NTP or has otherwise access to an accurate clock while the > guest has not (no network, impossible to add an NTP implementation > etc.). I approve of these patches. But still, how exactly is it useful, without NTP? Afaik, Linux does not read the RTC except once at boot time, so it probably still needs NTP or something like it to have reliable time. However, it does _write_ the RTC every 11 minutes if running NTP - does that affect the emulated behaviour? Or does the emulated RTC ignore writes? Do any other OSes read the RTC more than once after boot? -- Jamie