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-devel

Re: [Xen-devel] [PATCH] xenconsole: fix xencons=tty[0-9]+ param

Is your change to ttyS correct for anything other than ttyS0? Looks
like you'd incorrectly bind on ttyS0.

Also I see you made a predicate more complicated which is repeated many times. Could you hide it behind a suitably named macro? You may need to
make it more complicated still to fix ttyS case...

        Good points. How about this?


All looks okay except the following change:

-       tty_register_device(xencons_driver, 0, NULL);
+       tty_register_device(xencons_driver, XC_SERIAL ? 0 : xc_num - 1, NULL);

First, it ought to be (xc_mode == XC_SERIAL) right? Secondly, is registering just one of the tty devices what you want to do? Do you not need to register the 'dummy' ones for this trick to work?

 -- Keir

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

<Prev in Thread] Current Thread [Next in Thread>