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.


added decoder
[palacios.git] / palacios / src / palacios / svm.c
index cbed250..b4209ef 100644 (file)
@@ -9,7 +9,7 @@
 #include <palacios/vmm_debug.h>
 #include <palacios/vm_guest_mem.h>
 
-#include <palacios/vmm_emulate.h>
+#include <palacios/vmm_decoder.h>
 
 
 extern struct vmm_os_hooks * os_hooks;
@@ -250,14 +250,16 @@ static int start_svm_guest(struct guest_info *info) {
 
     CLGI();
 
+    PrintDebug("SVM Entry...\n");
+
     rdtscll(info->time_state.cached_host_tsc);
     guest_ctrl->TSC_OFFSET = info->time_state.guest_tsc - info->time_state.cached_host_tsc;
 
     safe_svm_launch((vmcb_t*)(info->vmm_data), &(info->vm_regs));
 
     rdtscll(tmp_tsc);
+    PrintDebug("SVM Returned\n");
 
-    //PrintDebug("SVM Returned\n");
 
     v3_update_time(info, tmp_tsc - info->time_state.cached_host_tsc);