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

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



# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1250789251 -3600
# Node ID 100699877583818a54bc16360dfd5cf80daa5dc7
# Parent  280fff79f7371981bb0bbda34205414fff14737e
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/arch/x86/domain.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletion(-)

diff -r 280fff79f737 -r 100699877583 xen/arch/x86/domain.c
--- a/xen/arch/x86/domain.c     Thu Aug 20 16:19:01 2009 +0100
+++ b/xen/arch/x86/domain.c     Thu Aug 20 18:27:31 2009 +0100
@@ -448,7 +448,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®.