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.


Clean the typos
Lei Xia [Wed, 28 Apr 2010 21:57:40 +0000 (16:57 -0500)]
palacios/include/palacios/vmm_time.h
palacios/src/palacios/svm.c
palacios/src/palacios/vmx.c

index 25ed924..120838d 100644 (file)
@@ -31,10 +31,10 @@ struct vm_time {
     uint32_t cpu_freq; // in kHZ
 
     // Total number of guest run time cycles
-    uint64_t_t guest_tsc;
+    uint64_t guest_tsc;
 
     // Cache value to help calculate the guest_tsc
-    uint64_t_t cached_host_tsc;
+    uint64_t cached_host_tsc;
 
     // The number of cycles pending for notification to the timers
     //ullong_t pending_cycles;
index d755e34..be9b074 100644 (file)
@@ -469,7 +469,6 @@ int v3_svm_enter(struct guest_info * info) {
 
     rdtscll(tmp_tsc);
     v3_update_time(info, (tmp_tsc - info->time_state.cached_host_tsc));
-    info->time_state.cached_hlt_tsc = 0;
     rdtscll(info->time_state.cached_host_tsc);
     //    guest_ctrl->TSC_OFFSET = info->time_state.guest_tsc - info->time_state.cached_host_tsc;
 
index d2e3a79..253ae47 100644 (file)
@@ -661,7 +661,6 @@ int v3_vmx_enter(struct guest_info * info) {
     // We do timer injection here to track real host time.
     rdtscll(tmp_tsc);
     v3_update_time(info, tmp_tsc - info->time_state.cached_host_tsc);
-    info->time_state.cached_hlt_tsc = 0;
     rdtscll(info->time_state.cached_host_tsc);
 
     if (info->vm_info->run_state == VM_STOPPED) {