From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46728 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0c1k-0002L3-Qf for qemu-devel@nongnu.org; Fri, 18 Mar 2011 11:56:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0c1f-0002Pp-Q8 for qemu-devel@nongnu.org; Fri, 18 Mar 2011 11:55:44 -0400 Received: from mx3-phx2.redhat.com ([209.132.183.24]:55805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0c1f-0002Pf-Em for qemu-devel@nongnu.org; Fri, 18 Mar 2011 11:55:43 -0400 Date: Fri, 18 Mar 2011 11:55:41 -0400 (EDT) From: Ulrich Obergfell 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 3/3] alleviate time drift with HPET periodic timers List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Jan Kiszka , aliguori@us.ibm.com, kvm , gcosta@redhat.com Part 3 of the patch implements the following options for the 'configure' script. --disable-hpet-driftfix --enable-hpet-driftfix Signed-off-by: Ulrich Obergfell 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)