mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
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>
This commit is contained in:
1 parent
88bc5163bc
commit
d5a22fa12f
1 file changed
+1
-1
@@ -298,7 +298,7 @@ static int setup_guest(int xc_handle,
|
||||
_PAGE_ACCESSED | _PAGE_DIRTY | _PAGE_PSE);
|
||||
munmap(ident_pt, PAGE_SIZE);
|
||||
xc_set_hvm_param(xc_handle, dom, HVM_PARAM_IDENT_PT,
|
||||
special_page_nr + SPECIALPAGE_IDENT_PT);
|
||||
(special_page_nr + SPECIALPAGE_IDENT_PT) << PAGE_SHIFT);
|
||||
|
||||
/* Insert JMP <rel32> instruction at address 0x0 to reach entry point. */
|
||||
entry_eip = elf_uval(&elf, elf.ehdr, e_entry);
|
||||
|
||||