WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] ... for dom0 if we know we'll need it. This is the xen
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 29 Jul 2005 06:36:13 -0400
Delivery-date: Fri, 29 Jul 2005 10:36:52 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] ... for dom0 if we know we'll need it. This is the xen, Xen patchbot -unstable <=