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

[Xen-changelog] [xen-3.4-testing] x86_64 hvm: Adjust COMPAT_VIRT_START for 32-bit HVM guests.



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1251968532 -3600
# Node ID fdec98c673e8be286ee8ceaefcdd038c74d1c6c4
# Parent  9c73804590c9cc4596f2ca5e43dcd02c2494691a
x86_64 hvm: Adjust COMPAT_VIRT_START for 32-bit HVM guests.

The PV limit should not apply as there is no M2P table mapped into an
HVM guest's virtual address space.

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
xen-unstable changeset:   20101:100699877583
xen-unstable date:        Thu Aug 20 18:27:31 2009 +0100
---
 xen/arch/x86/domain.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 9c73804590c9 -r fdec98c673e8 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Thu Sep 03 10:01:32 2009 +0100
+++ b/xen/arch/x86/domain.c     Thu Sep 03 10:02:12 2009 +0100
@@ -428,7 +428,8 @@ int arch_domain_create(struct domain *d,
 #endif /* __x86_64__ */
 
 #ifdef CONFIG_COMPAT
-    HYPERVISOR_COMPAT_VIRT_START(d) = __HYPERVISOR_COMPAT_VIRT_START;
+    HYPERVISOR_COMPAT_VIRT_START(d) =
+        is_hvm_domain(d) ? ~0u : __HYPERVISOR_COMPAT_VIRT_START;
 #endif
 
     if ( (rc = paging_domain_init(d)) != 0 )

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