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

[Xen-changelog] ... for dom0 if we know we'll need it. This is the xen



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 555b315b482d312dea73061af5720fa1bd14d5b5
# Parent  e922662b783911a28daafae9281ce6726b55df56
... for dom0 if we know we'll need it.  This is the xen
counterpart to the previous xenlinux patch which adds this
info to the kernel.  Also adds some printk's.

diff -r e922662b7839 -r 555b315b482d xen/arch/x86/domain_build.c
--- a/xen/arch/x86/domain_build.c       Fri Jul 29 10:24:06 2005
+++ b/xen/arch/x86/domain_build.c       Fri Jul 29 10:24:41 2005
@@ -165,6 +165,8 @@
                xen_pae ? "yes" : "no", dom0_pae ? "yes" : "no");
         return -EINVAL;
     }
+    if (strstr(dsi.xen_section_string, "SHADOW=translate"))
+       opt_dom0_translate = 1;
 
     /* Align load address to 4MB boundary. */
     dsi.v_start &= ~((1UL<<22)-1);
@@ -618,11 +620,13 @@
 
     if ( opt_dom0_shadow || opt_dom0_translate )
     {
+       printk("dom0: shadow enable\n");
         shadow_mode_enable(d, (opt_dom0_translate
                                ? SHM_enable | SHM_refcounts | SHM_translate
                                : SHM_enable));
         if ( opt_dom0_translate )
         {
+           printk("dom0: shadow translate\n");
 #if defined(__i386__) && defined(CONFIG_X86_PAE)
             printk("FIXME: PAE code needed here: %s:%d (%s)\n",
                    __FILE__, __LINE__, __FUNCTION__);
@@ -655,6 +659,7 @@
         }
 
         update_pagetables(v); /* XXX SMP */
+       printk("dom0: shadow setup done\n");
     }
 
     return 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®.