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.


Merge branch 'devel' of palacios@newskysaw.cs.northwestern.edu:/home/palacios/palacio...
[palacios-OLD.git] / palacios / include / palacios / vmm_time.h
index 3255aca..c9248b8 100644 (file)
@@ -93,11 +93,8 @@ static inline uint64_t v3_get_host_time(struct vm_time *t) {
 // Returns *monotonic* guest time.
 static inline uint64_t v3_get_guest_time(struct vm_time *t) {
 #ifdef CONFIG_TIME_HIDE_VM_COST
-    if (t->exit_time) {
-        return t->exit_time + t->guest_host_offset;
-    } else {
-        return v3_get_host_time(t) + t->guest_host_offset;
-    }
+    V3_ASSERT(t->exit_time);
+    return t->exit_time + t->guest_host_offset;
 #else
     return v3_get_host_time(t) + t->guest_host_offset;
 #endif