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.


palacios_alloc() patch
Kevin Pedretti [Fri, 12 Aug 2011 17:39:13 +0000 (13:39 -0400)]
linux_module/palacios-stubs.c

index be06001..0310a40 100644 (file)
@@ -85,7 +85,11 @@ static void *
 palacios_alloc(unsigned int size) {
     void * addr = NULL;
 
-    addr = kmalloc(size, GFP_KERNEL);
+    if (irqs_disabled()) {
+       addr = kmalloc(size, GFP_ATOMIC);
+    } else {
+       addr = kmalloc(size, GFP_KERNEL);
+    }
     mallocs++;
  
     return addr;