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.


compile fix
[palacios.git] / palacios / src / palacios / mmu / vmm_shdw_pg_swapbypass.c
index af23fed..e8c7209 100644 (file)
@@ -205,7 +205,7 @@ static addr_t map_swp_page(struct v3_vm_info * vm, pte32_t * shadow_pte, pte32_t
     shdw_ptr_list = (struct list_head *)v3_htable_search(swap_state->shdw_ptr_ht, (addr_t)*(uint32_t *)guest_pte);
 
     if (shdw_ptr_list == NULL) {
-       shdw_ptr_list = (struct list_head *)V3_Malloc(sizeof(struct list_head *));
+       shdw_ptr_list = (struct list_head *)V3_Malloc(sizeof(struct list_head));
 #ifdef CONFIG_SWAPBYPASS_TELEMETRY
        swap_state->list_size++;
 #endif