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.


Force Linux backend to allocate memory pages from lower address
Lei Xia [Thu, 7 Apr 2011 22:31:06 +0000 (17:31 -0500)]
linux_module/palacios-mm.c

index 1d750db..a62b55a 100644 (file)
@@ -103,7 +103,7 @@ uintptr_t alloc_palacios_pgs(u64 num_pages, u32 alignment) {
        struct page * pgs = NULL;
        int order = get_order(num_pages * PAGE_SIZE);
         
-       pgs = alloc_pages(GFP_KERNEL, order);
+       pgs = alloc_pages(GFP_DMA, order);
     
        WARN(!pgs, "Could not allocate pages\n");