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

Re: [Minios-devel] Serial console handling of carriage-return and newline



CC Samuel

On Sun, May 07, 2017 at 06:39:58PM +0100, Simon Waterman wrote:
> Hi,
> 
> The mini-os console_print() function converts \n to \r\n sequences. This is
> probably helpful when
> the serial port is used as a text console but causes problems if a binary
> protocol is used across the serial
> interface.
> 
> One such example is using the Windows Kernel debugger between domains (using
> IOEMU stubdoms).
> 
> Could this be considered a bug or would it be better to introduce a new type
> of console, say 'rawpty',
> that when specified in the xl.cfg file disables the built-in processing for
> that serial port?
> 
> I'd be happy to create patches for either solution.

I think that is a bug. But I don't know the history behind it so can't
make a judgement.

Wei.

> 
> - Simon
> 
> _______________________________________________
> Minios-devel mailing list
> Minios-devel@xxxxxxxxxxxxxxxxxxxx
> https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/minios-devel

 


Rackspace

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