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.


VMX is working for a 32-bit Linux kernel. It should also work for a 64-bit kernel...
[palacios.git] / palacios / src / palacios / vmm_halt.c
similarity index 94%
rename from palacios/src/palacios/svm_halt.c
rename to palacios/src/palacios/vmm_halt.c
index a8bf0b9..2be016c 100644 (file)
@@ -18,7 +18,7 @@
  * redistribute, and modify it as specified in the file "V3VEE_LICENSE".
  */
 
-#include <palacios/svm_halt.h>
+#include <palacios/vmm_halt.h>
 #include <palacios/vmm_intr.h>
 
 
@@ -33,7 +33,7 @@
 // This should trigger a #GP if cpl != 0, otherwise, yield to host
 //
 
-int v3_handle_svm_halt(struct guest_info * info) {
+int v3_handle_halt(struct guest_info * info) {
 
     if (info->cpl != 0) { 
        v3_raise_exception(info, GPF_EXCEPTION);
@@ -69,7 +69,7 @@ int v3_handle_svm_halt(struct guest_info * info) {
        
        PrintDebug("CPU Yield Done (%d cycles)\n", gap);
        
-       info->rip+=1;
+       info->rip += 1;
     }
 
     return 0;