From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MlPCM-0005NO-J8 for qemu-devel@nongnu.org; Wed, 09 Sep 2009 11:35:06 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MlPCH-0005MF-UJ for qemu-devel@nongnu.org; Wed, 09 Sep 2009 11:35:06 -0400 Received: from [199.232.76.173] (port=48578 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlPCH-0005M9-N2 for qemu-devel@nongnu.org; Wed, 09 Sep 2009 11:35:01 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.142]:45637) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MlPCH-0006PD-Cz for qemu-devel@nongnu.org; Wed, 09 Sep 2009 11:35:01 -0400 Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by e2.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n89FSU1O007633 for ; Wed, 9 Sep 2009 11:28:30 -0400 Received: from d01av03.pok.ibm.com (d01av03.pok.ibm.com [9.56.224.217]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n89FYu8f230146 for ; Wed, 9 Sep 2009 11:34:56 -0400 Received: from d01av03.pok.ibm.com (loopback [127.0.0.1]) by d01av03.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n89FYukx026391 for ; Wed, 9 Sep 2009 11:34:56 -0400 Message-ID: <4AA7CB1E.8040409@us.ibm.com> Date: Wed, 09 Sep 2009 10:34:54 -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> In-Reply-To: <4AA7C411.9050008@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 04:31 PM, Jan Kiszka wrote: >> 'drift-compensation-for-windows-guests' - this is at least what the >> documentation suggests right now. I was looking for a short tag (but not >> as short as 'td'...). >> >> > > It would work for any guest that uses rtc as its main clock source. 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. You can modify the default rtc settings using the -set operation (we can give the rtc a default id). This lets localtime, td-hack, etc. all be aliases for -set. -- Regards, Anthony Liguori