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

[Xen-changelog] Set kcons index to -1 (i.e., acquire all device indexes).



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 89250c81cdd213327d5eb69ff72e1d42cd187377
# Parent  a7bb7b704071d5c231edd51f71069025fdbd6b9b
Set kcons index to -1 (i.e., acquire all device indexes).

This reverts part of the previous changeset, which prevented
console=tty0 from doing the obvious thing in a domU guest
(i.e., send output on the virtual console). This is because
the tty index ends up being 1.

I don't think setting the index to other than -1 really
buys us anything anyway. Any other driver that specifies
a name that conflicts with us will almost certainly set their
index to -1, so we cannot avoid conflicts by choosing a
more restrictive (singleton) value.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r a7bb7b704071 -r 89250c81cdd2 
linux-2.6-xen-sparse/drivers/xen/console/console.c
--- a/linux-2.6-xen-sparse/drivers/xen/console/console.c        Tue Dec 13 
21:05:18 2005
+++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c        Tue Dec 13 
21:12:02 2005
@@ -213,9 +213,6 @@
                return __RETCODE;
        }
 
-       /* We only bind to one device index (-1 means all indexes). */
-       kcons_info.index = xc_num;
-
        wbuf = alloc_bootmem(wbuf_size);
 
        register_console(&kcons_info);

_______________________________________________
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®.