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

[Xen-changelog] fix compile



ChangeSet 1.1346, 2005/04/20 22:22:46+01:00, iap10@xxxxxxxxxxxxxxxxxxxxx

        fix compile



 vmx.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/xen/arch/x86/vmx.c b/xen/arch/x86/vmx.c
--- a/xen/arch/x86/vmx.c        2005-04-20 18:02:22 -04:00
+++ b/xen/arch/x86/vmx.c        2005-04-20 18:02:22 -04:00
@@ -396,7 +396,7 @@
        return 0;
     }
 
-    mfn = phys_to_machine_mapping(gva_to_gpte(laddr) >> PAGE_SHIFT);
+    mfn = phys_to_machine_mapping(l1e_get_pfn(gva_to_gpte(laddr)));
     addr = map_domain_mem((mfn << PAGE_SHIFT) | (laddr & ~PAGE_MASK));
 
     if (dir == COPY_IN)

_______________________________________________
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®.