Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Fixes to time code to allow virtualization to hide costs of running in the
[palacios.git] / Kconfig
diff --git a/Kconfig b/Kconfig
index dcee752..0eb9692 100644 (file)
--- a/Kconfig
+++ b/Kconfig
@@ -226,14 +226,40 @@ endmenu
 
 menu "Time Management"
 
+config TIME_HIDE_VM_COST
+        bool "Hide VMM Run Cost"
+       default n
+       help
+           Offset guest time from host time sufficiently to hide the cost of
+           running in the virtual machine. This can aid the consistency of
+           time between multiple timers, but can cause the guest to run 
+           slightly slower than the host.
+
+config TIME_HIDE_EXIT_COST
+        bool "Hide VMM Exit Cost"
+       default n
+       depends on TIME_HIDE_VM_COST
+       help
+           Add additional TSC offset to hide VMM exit costs from the guest.
+
+config TIME_EXIT_COST_ADJUST
+       int "Exit cost adjustment for hiding VM exits"
+       default 2000
+       depends on TIME_HIDE_EXIT_COST
+       help
+           Amount to adjust the time to hide the exit cost of fully virtualizing
+          the timestamp counter. Used to hide the cost of fully virtualizing 
+          the TSC for OSes that assume that reading the TSC is inexpensive 
+          (e.g. Linux TSC-based timer calibration).
+
 config TIME_VIRTUALIZE_TSC
-       bool "Virtualize guest TSC"
+       bool "Fully virtualize guest TSC"
        default n
        help
            Virtualize the processor time stamp counter in the guest, 
            generally increasing consistency between various time sources 
            but also potentially making guest time run slower than real time.
-
+        
 endmenu
 
 menu "Symbiotic Functions"