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.


reformat return code fix
Jack Lange [Thu, 19 Feb 2009 23:05:21 +0000 (17:05 -0600)]
palacios/src/palacios/svm_wbinvd.c

index 85632d8..9fe3dc3 100644 (file)
 // should raise #GP if CPL is not zero
 // Otherwise execute
 
-int v3_handle_svm_wbinvd(struct guest_info * info)
-{
-  if (info->cpl!=0) { 
-    PrintDebug("WBINVD: cpl!=0, injecting GPF\n");
-    v3_raise_exception(info,GPF_EXCEPTION);
+int v3_handle_svm_wbinvd(struct guest_info * info) {
+
+  if (info->cpl != 0) { 
+    PrintDebug("WBINVD: cpl != 0, injecting GPF\n");
+    v3_raise_exception(info, GPF_EXCEPTION);
   } else {
-    info->rip+=2;
+    info->rip += 2;
     asm("wbinvd");
   }
-  return 0;
 
+  return 0;
 }