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

Re: [Xen-users] Is Xen and Qemu serial driver code related ?



On 10 Feb 2007 at 10:13, Ales Rom wrote:

> On the other way, emulated serial port is not acting the same as real
> one. Is this question for xen developers? Can I try anything else?
>

The timing for the serial port at high baud rates can be critical (that is, you
may miss received characters, or you may not fill the UART's transmit buffer in
time). That's why I suggested to try a fault-tolerant transfer protocol like
kermit: Youz can disconnect the cable, then reconnect it, and the transfer will
continue (much like TCP). I know that there are "industry style" protocols 
around
that are not fault tolerant like that. I had real trouble upgrading the firmware
of a GPS unit via serial cable, completely without XEN: One bad character, and 
the
unit had to be powered off and on again. That bad thing was that exactly that
power cycle placed on invalid character in the PC's receive buffer, and the
protocol failed. Hard life, this life ;-)

Ulrich


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


 


Rackspace

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