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.


Convert shadow paging to use 32 PAE (Remove 32 Bit Restrictions)
[palacios.git] / palacios / src / devices / swapbypass_cache.c
index 882d55f..bb5e9fe 100644 (file)
@@ -296,7 +296,7 @@ static int swap_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) {
     swap->active = 0;
     swap->hdr = (union swap_header *)swap;
 
-    swap->swap_base_addr = (addr_t)V3_AllocShadowSafePages(swap->capacity / 4096); 
+    swap->swap_base_addr = (addr_t)V3_AllocPages(swap->capacity / 4096); 
 
     if (!swap->swap_base_addr) { 
        PrintError(vm, VCORE_NONE, "Cannot allocate swap space\n");