ia64/xen-unstable

changeset 17524:97da69831384

vmx: Fix address of EPT identity-map pagetable that is passed from the
domain builder down to the hypervisor.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Apr 24 14:33:42 2008 +0100 (2008-04-24)
parents 4e6577dec729
children dc510776dd59 7689e311f3b5
files tools/libxc/xc_hvm_build.c
line diff
     1.1 --- a/tools/libxc/xc_hvm_build.c	Thu Apr 24 10:14:43 2008 +0100
     1.2 +++ b/tools/libxc/xc_hvm_build.c	Thu Apr 24 14:33:42 2008 +0100
     1.3 @@ -298,7 +298,7 @@ static int setup_guest(int xc_handle,
     1.4                         _PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_PSE);
     1.5      munmap(ident_pt, PAGE_SIZE);
     1.6      xc_set_hvm_param(xc_handle, dom, HVM_PARAM_IDENT_PT,
     1.7 -                     special_page_nr + SPECIALPAGE_IDENT_PT);
     1.8 +                     (special_page_nr + SPECIALPAGE_IDENT_PT) << PAGE_SHIFT);
     1.9  
    1.10      /* Insert JMP <rel32> instruction at address 0x0 to reach entry point. */
    1.11      entry_eip = elf_uval(&elf, elf.ehdr, e_entry);