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

Re: [Xen-devel] [PATCH] xencons missing string allocation




   The index is effectively the index into the array of ttyS devices.
For example, ttyS[1] == ttyS1. When I specify console=ttyS1, this value
gets separated into driver "ttyS", index 1 in the console data
structure.  The xen console driver only knows how to deal with index 0.
The patch I sent confines the namespace translation to one place, but I
think a similar change could be done in places like the open function
where it specifically checks for index == 0.

Should the patch then not just set the index to zero, rather than conditionally subtracting xc_num?

 -- Keir


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


 


Rackspace

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