d94c859728
OBS-URL: https://build.opensuse.org/package/show/Virtualization/xen?expand=0&rev=b6b207d81cd5754c754f7e4e72bb82de
27 lines
961 B
Diff
27 lines
961 B
Diff
# HG changeset patch
|
|
# User Keir Fraser <keir.fraser@citrix.com>
|
|
# 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@citrix.com>
|
|
|
|
Index: xen-3.4.1-testing/xen/arch/x86/domain.c
|
|
===================================================================
|
|
--- xen-3.4.1-testing.orig/xen/arch/x86/domain.c
|
|
+++ xen-3.4.1-testing/xen/arch/x86/domain.c
|
|
@@ -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 )
|