From patchwork Fri Mar 18 15:55:41 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulrich Obergfell X-Patchwork-Id: 644321 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2IFtp84001010 for ; Fri, 18 Mar 2011 15:56:12 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932206Ab1CRPzr (ORCPT ); Fri, 18 Mar 2011 11:55:47 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:41055 "EHLO mx3-phx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932180Ab1CRPzq (ORCPT ); Fri, 18 Mar 2011 11:55:46 -0400 Received: from mail03.corp.redhat.com (zmail07.collab.prod.int.phx2.redhat.com [10.5.5.47]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id p2IFtf8t002063; Fri, 18 Mar 2011 11:55:41 -0400 Date: Fri, 18 Mar 2011 11:55:41 -0400 (EDT) From: Ulrich Obergfell To: qemu-devel@nongnu.org Cc: kvm , gcosta@redhat.com, Anthony Liguori , aliguori@us.ibm.com, Jan Kiszka Message-ID: <946357411.421760.1300463741632.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> In-Reply-To: <1225303441.421235.1300462107604.JavaMail.root@zmail07.collab.prod.int.phx2.redhat.com> Subject: [PATCH 3/3] alleviate time drift with HPET periodic timers MIME-Version: 1.0 X-Originating-IP: [10.5.5.72] X-Mailer: Zimbra 6.0.9_GA_2686 (ZimbraWebClient - FF3.0 (Linux)/6.0.9_GA_2686) Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Fri, 18 Mar 2011 15:56:12 +0000 (UTC) diff -up ./configure.orig3 ./configure --- ./configure.orig3 2011-02-18 22:48:06.000000000 +0100 +++ ./configure 2011-03-13 12:43:44.870966181 +0100 @@ -140,6 +140,7 @@ linux_aio="" attr="" vhost_net="" xfs="" +hpet_driftfix="no" gprof="no" debug_tcg="no" @@ -749,6 +750,10 @@ for opt do ;; --enable-rbd) rbd="yes" ;; + --disable-hpet-driftfix) hpet_driftfix="no" + ;; + --enable-hpet-driftfix) hpet_driftfix="yes" + ;; *) echo "ERROR: unknown option $opt"; show_help="yes" ;; esac @@ -2602,6 +2607,7 @@ echo "Trace output file $trace_file- Your SDL version is too old - please upgrade to have SDL support" @@ -2893,6 +2899,10 @@ if test "$rbd" = "yes" ; then echo "CONFIG_RBD=y" >> $config_host_mak fi +if test "$hpet_driftfix" = "yes" ; then + echo "CONFIG_HPET_DRIFTFIX=y" >> $config_host_mak +fi + # USB host support case "$usb" in linux)