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] mixup during reorganization. when SIF_INITDOMAIN it shou

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] mixup during reorganization. when SIF_INITDOMAIN it should kcons_write_dom0
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 03 Jan 2006 17:10:10 +0000
Delivery-date: Tue, 03 Jan 2006 17:15:58 +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 vhanquez@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID 2a873f8020ae8859a90c624dc78cbc6d9d3e9058
# Parent  994e8ee5179d70a5a1b17948ef9016c563949c83
mixup during reorganization. when SIF_INITDOMAIN it should kcons_write_dom0

Signed-off-by: Vincent Hanquez <vincent@xxxxxxxxxxxxx>

diff -r 994e8ee5179d -r 2a873f8020ae 
linux-2.6-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/console.c        Sat Dec 31 
20:17:45 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c        Tue Jan  3 
13:03:35 2006
@@ -315,12 +315,12 @@
        int sent, sz, work_done = 0;
 
        if (x_char) {
-               if (xen_start_info->flags & SIF_INITDOMAIN) {
+               if (xen_start_info->flags & SIF_INITDOMAIN)
+                       kcons_write_dom0(NULL, &x_char, 1);
+               else
                        while (x_char)
                                if (xencons_ring_send(&x_char, 1) == 1)
                                        break;
-               } else
-                       kcons_write_dom0(NULL, &x_char, 1);
                x_char = 0;
                work_done = 1;
        }

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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] mixup during reorganization. when SIF_INITDOMAIN it should kcons_write_dom0, Xen patchbot -unstable <=