X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?p=palacios.git;a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_direct_paging_32.h;h=52f0991ea3a34e64b9591da82af4c09a9cebe327;hp=c71baf03153826aa4312a7543c3c18352dbab822;hb=cfcceed5890430afedcc544bd7dbb69e29dfd65a;hpb=19c179d8c8a23c2612f9c12ec7cbedc299ce80e5 diff --git a/palacios/src/palacios/vmm_direct_paging_32.h b/palacios/src/palacios/vmm_direct_paging_32.h index c71baf0..52f0991 100644 --- a/palacios/src/palacios/vmm_direct_paging_32.h +++ b/palacios/src/palacios/vmm_direct_paging_32.h @@ -63,7 +63,7 @@ static inline int handle_passthrough_pagefault_32(struct guest_info * info, pde[pde_index].present = 1; pde[pde_index].writable = 1; - pde[pde_index].user_page = 0; + pde[pde_index].user_page = 1; pde[pde_index].pt_base_addr = PAGE_BASE_ADDR((addr_t)V3_PAddr(pte)); } else { @@ -73,7 +73,7 @@ static inline int handle_passthrough_pagefault_32(struct guest_info * info, // Fix up the PTE entry if (pte[pte_index].present == 0) { - pte[pte_index].user_page = 0; + pte[pte_index].user_page = 1; if (region->host_type == SHDW_REGION_ALLOCATED) { // Full access