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:
Keir Fraser committed 2008-04-24 14:33:42 +01:00
1 parent 88bc5163bc
commit d5a22fa12f
1 file changed
+1 -1
+1 -1
View File
@@ -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);
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.