From: Trammell Hudson Date: Wed, 22 Oct 2008 16:35:42 +0000 (-0500) Subject: Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten X-Git-Tag: 1.0^2~4^2~5 X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=commitdiff_plain;h=0bfc984ca54c09487a8fd2fafbedf7a00cdb120b;hp=564e23ffc7505181975a4f82a5e8b0c88e535945;p=palacios.releases.git Merge branch 'kitten' of ssh://sharedev@localhost/home/sharedev/palacios into kitten --- diff --git a/palacios/src/palacios/svm.c b/palacios/src/palacios/svm.c index 52a0a5f..33d878f 100644 --- a/palacios/src/palacios/svm.c +++ b/palacios/src/palacios/svm.c @@ -199,7 +199,7 @@ static void Init_VMCB_BIOS(vmcb_t * vmcb, struct guest_info *vm_info) { if (vm_info->shdw_pg_mode == SHADOW_PAGING) { PrintDebug("Creating initial shadow page table\n"); - vm_info->direct_map_pt = V3_PAddr((addr_t)create_passthrough_pde32_pts(vm_info)); + vm_info->direct_map_pt = (addr_t)V3_PAddr(create_passthrough_pde32_pts(vm_info)); vm_info->shdw_pg_state.shadow_cr3 |= (vm_info->direct_map_pt & ~0xfff); vm_info->shdw_pg_state.guest_cr0 = 0x0000000000000010LL;