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.


minor changes to yields to avoid guest lock ups due to irq flooding scenarios
[palacios.git] / palacios / src / palacios / svm_wbinvd.c
index 921039e..c8c11e6 100644 (file)
 // should raise #GP if CPL is not zero
 // Otherwise execute
 
-int 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;
-    asm("wbinvd");
-  }
-  return 0;
+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;
+       asm("wbinvd");
+    }
+
+    return 0;
 }