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] [xen-unstable] [IA64] Clear console page for sioemu

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] [IA64] Clear console page for sioemu
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Mon, 03 Mar 2008 07:30:10 -0800
Delivery-date: Mon, 03 Mar 2008 07:30:10 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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 Alex Williamson <alex.williamson@xxxxxx>
# Date 1203946041 25200
# Node ID 4a9f31bdfcc0b8f8d1ebca324db5fdfea52c4613
# Parent  07d9e9ca34f007b86d5df5090388551e557bf99f
[IA64] Clear console page for sioemu

This fixes a bug: by using pfn 0 for console, the page was not cleared,
sometimes causing the domain to fail to boot.

Signed-off-by: Tristan Gingold <tgingold@xxxxxxx>
---
 tools/libxc/ia64/xc_ia64_dom_fwloader.c |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff -r 07d9e9ca34f0 -r 4a9f31bdfcc0 tools/libxc/ia64/xc_ia64_dom_fwloader.c
--- a/tools/libxc/ia64/xc_ia64_dom_fwloader.c   Mon Feb 25 06:24:43 2008 -0700
+++ b/tools/libxc/ia64/xc_ia64_dom_fwloader.c   Mon Feb 25 06:27:21 2008 -0700
@@ -58,9 +58,11 @@ static int alloc_magic_pages(struct xc_d
 static int alloc_magic_pages(struct xc_dom_image *dom)
 {
     /* allocate special pages */
-    dom->console_pfn = 0;
-    dom->xenstore_pfn = 1;
-    dom->start_info_pfn = 2;
+    /* Note: do not use 0 for console or xenstore otherwise clear_page won't
+       clear the page.  */
+    dom->start_info_pfn = 0;
+    dom->console_pfn = 1;
+    dom->xenstore_pfn = 2;
     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] [xen-unstable] [IA64] Clear console page for sioemu, Xen patchbot-unstable <=