[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] vmx: Fix address of EPT identity-map pagetable that is passed from the



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1209044022 -3600
# Node ID 97da69831384f0819caeeb8b8bdff0f942b2d690
# Parent  4e6577dec72973e49b2abf7dc0b1cdbe4f91bf45
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@xxxxxxxxxx>
---
 tools/libxc/xc_hvm_build.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 4e6577dec729 -r 97da69831384 tools/libxc/xc_hvm_build.c
--- a/tools/libxc/xc_hvm_build.c        Thu Apr 24 10:14:43 2008 +0100
+++ b/tools/libxc/xc_hvm_build.c        Thu Apr 24 14:33:42 2008 +0100
@@ -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);

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.