From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:58806) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsiRd-0003QI-Lv for qemu-devel@nongnu.org; Wed, 01 Feb 2012 17:14:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RsiRc-0000cJ-Fr for qemu-devel@nongnu.org; Wed, 01 Feb 2012 17:14:25 -0500 Received: from e36.co.us.ibm.com ([32.97.110.154]:49629) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RsiRc-0000cF-99 for qemu-devel@nongnu.org; Wed, 01 Feb 2012 17:14:24 -0500 Received: from /spool/local by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 1 Feb 2012 15:14:20 -0700 Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by d03dlp01.boulder.ibm.com (Postfix) with ESMTP id 700091FF004A for ; Wed, 1 Feb 2012 15:11:19 -0700 (MST) Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q11MAt42093010 for ; Wed, 1 Feb 2012 15:10:59 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q11MAs6U027940 for ; Wed, 1 Feb 2012 15:10:54 -0700 Message-ID: <4F29B86D.7020702@us.ibm.com> Date: Wed, 01 Feb 2012 16:10:53 -0600 From: Anthony Liguori MIME-Version: 1.0 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] Generic tick reinjection control List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Marcelo Tosatti , qemu-devel , Avi Kivity On 01/23/2012 01:15 PM, Jan Kiszka wrote: > QEMU currently supports lost tick compensation for the periodic RTC > timer. It is controlled via -rtc driftfix=slew|none. However, the next > periodic timer with compensation qualities is approaching: KVM's > in-kernel PIT. > > A previous discussion [1] showed that we need to introduce per device > control. And we likely also want a global default. Both features require > a generic standardized way to specify the compensation mode. > > So this series lays the ground for that by adding a qdev property type > to select from four possible lost tick compensation policies (see patch > 1 one for details). And this new property is then applied on the RTC > device. > > [1] http://thread.gmane.org/gmane.comp.emulators.kvm.devel/85339 Applied. Thanks. Regards, Anthony Liguori > > Jan Kiszka (2): > qdev: Introduce lost tick policy property > mc146818rtc: Use lost_tick_policy property > > hw/mc146818rtc.c | 26 +++++++++++++++++------ > hw/qdev-properties.c | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ > hw/qdev.h | 7 ++++++ > qemu-common.h | 7 ++++++ > sysemu.h | 1 - > vl.c | 28 ++++++++++++++++++++---- > 6 files changed, 111 insertions(+), 13 deletions(-) >