[PATCH 3/3] alleviate time drift with HPET periodic timers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Part 3 of the patch implements the following options for the 'configure' script.

--disable-hpet-driftfix
--enable-hpet-driftfix

Signed-off-by: Ulrich Obergfell <uobergfe@xxxxxxxxxx>


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-<pid
 echo "spice support     $spice"
 echo "rbd support       $rbd"
 echo "xfsctl support    $xfs"
+echo "HPET drift fix    $hpet_driftfix"
 
 if test $sdl_too_old = "yes"; then
 echo "-> 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)
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux