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

[Xen-changelog] mixup during reorganization. when SIF_INITDOMAIN it should kcons_write_dom0



# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.