X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_mem.c;h=7994cc404b3aff9d976ef92e118bcfaffee36717;hb=e0c113197cc4f189d1e2d34ede358b7733d73e4d;hp=a795f583ffb07a203bd92f447e43b40556189806;hpb=f615803b8ae6005d48d8c8435e9dba5b2842ccca;p=palacios.git diff --git a/palacios/src/palacios/vmm_mem.c b/palacios/src/palacios/vmm_mem.c index a795f58..7994cc4 100644 --- a/palacios/src/palacios/vmm_mem.c +++ b/palacios/src/palacios/vmm_mem.c @@ -61,6 +61,7 @@ int v3_init_mem_map(struct v3_vm_info * vm) { // There is an underlying region that contains all of the guest memory // PrintDebug("Mapping %d pages of memory (%u bytes)\n", (int)mem_pages, (uint_t)info->mem_size); + // 2MB page alignment needed for 2MB hardware nested paging map->base_region.guest_start = 0; map->base_region.guest_end = mem_pages * PAGE_SIZE_4KB;