All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH][P2M] add printk to NP PAE logic in p2m
@ 2008-01-15 19:22 Woller, Thomas
  2008-01-15 19:31 ` Keir Fraser
  0 siblings, 1 reply; 7+ messages in thread
From: Woller, Thomas @ 2008-01-15 19:22 UTC (permalink / raw)
  To: xen-devel

[-- Attachment #1: Type: text/plain, Size: 374 bytes --]

Adding a P2M_ERROR message when startup of a PAE HVM guest, on a PAE
hypervisor exceeds the ~4Gig memory size limitation.

Please apply to unstable (no need to add to 3.2-testing, or to 3.1.3).

Signed-off-by: Tom Woller <thomas.woller@amd.com>

  --Tom

thomas.woller@amd.com  +1-512-602-0059
AMD Corporation - Operating Systems Research Center
Austin, Texas


[-- Attachment #2: svm_npt_pae_4gig.patch --]
[-- Type: application/octet-stream, Size: 643 bytes --]

diff -r 533a8e6cebd0 xen/arch/x86/mm/p2m.c
--- a/xen/arch/x86/mm/p2m.c	Sat Jan 12 11:26:04 2008 +0000
+++ b/xen/arch/x86/mm/p2m.c	Tue Jan 15 12:45:14 2008 -0600
@@ -705,8 +705,11 @@ guest_physmap_add_entry(struct domain *d
      * hardware translation limit. This limitation is checked by comparing
      * gfn with 0xfffffUL.
      */
-    if ( paging_mode_hap(d) && (gfn > 0xfffffUL) )
+    if ( paging_mode_hap(d) && (gfn > 0xfffffUL) ) {
+        P2M_ERROR("Nested Paging does not support PAE guests, "\
+                  "on PAE hypervisors using more than 4GB of memory.\n");
         return -EINVAL;
+    }
 #endif
 
     p2m_lock(d);

[-- Attachment #3: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-01-17  8:18 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-15 19:22 [PATCH][P2M] add printk to NP PAE logic in p2m Woller, Thomas
2008-01-15 19:31 ` Keir Fraser
2008-01-16 15:36   ` Stephen C. Tweedie
2008-01-16 16:52   ` Stephen C. Tweedie
2008-01-17  3:23   ` about netchannel2 tgh
2008-01-17  4:28     ` Li, Xin B
2008-01-17  8:18       ` tgh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.