From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlRza-0004zs-Bb for qemu-devel@nongnu.org; Wed, 09 Sep 2009 14:34:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlRzV-0004rx-7h for qemu-devel@nongnu.org; Wed, 09 Sep 2009 14:34:05 -0400 Received: from [199.232.76.173] (port=57633 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlRzV-0004rP-0n for qemu-devel@nongnu.org; Wed, 09 Sep 2009 14:34:01 -0400 Received: from e36.co.us.ibm.com ([32.97.110.154]:36688) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlRzU-0004Nw-IK for qemu-devel@nongnu.org; Wed, 09 Sep 2009 14:34:00 -0400 Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by e36.co.us.ibm.com (8.14.3/8.13.1) with ESMTP id n89IW816029901 for ; Wed, 9 Sep 2009 12:32:08 -0600 Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n89IXwka133026 for ; Wed, 9 Sep 2009 12:33:58 -0600 Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n89IXv0A002696 for ; Wed, 9 Sep 2009 12:33:58 -0600 Message-ID: <4AA7F511.8050003@us.ibm.com> Date: Wed, 09 Sep 2009 13:33:53 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] Re: [PATCH] re-set rtc date on reset handler References: <1251822154-5423-1-git-send-email-glommer@redhat.com> <4AA68310.1050209@siemens.com> <4AA68B50.8000805@siemens.com> <4AA68DBB.9080000@siemens.com> <4AA79F67.9060401@redhat.com> <4AA7A61C.4050902@siemens.com> <4AA7AD43.30000@redhat.com> <4AA7AE45.6050104@siemens.com> <4AA7C411.9050008@redhat.com> <4AA7CB1E.8040409@us.ibm.com> <4AA7F313.2090208@redhat.com> In-Reply-To: <4AA7F313.2090208@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Avi Kivity Cc: Blue Swirl , Jan Kiszka , Glauber Costa , "dlaor@redhat.com" , "qemu-devel@nongnu.org" Avi Kivity wrote: > On 09/09/2009 06:34 PM, Anthony Liguori wrote: >> First step is qdev conversion for the RTC. You can then introduce a >> drift property. I'd suggest something like >> drift=none|catchup|gradual. The default can be none. We can also >> introduce a kvm machine type where the default is catchup. >> Obviously, we don't support gradual today. >> > > Maybe none|step|slew to avoid alienating mayo lovers. > > Should be a global option that applies to all clock sources? Should be an option for all clock devices. And I think it makes sense to have a virtualization machine type that is automatically enabled when using kvm and that automatically enables drift=step. -- Regards, Anthony Liguori