]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools, 8250: Don't set the UART_LSR_OE bit
authorPekka Enberg <penberg@kernel.org>
Thu, 24 Mar 2011 16:56:02 +0000 (18:56 +0200)
committerPekka Enberg <penberg@kernel.org>
Thu, 24 Mar 2011 16:56:02 +0000 (18:56 +0200)
commit022c233639e19fe07156ce2706e4d1ce8836481e
tree0f0879a68aaa6e253160598582f72c88149347ab
parent3755ca5d987fa6879defbfc4c211abfe98be151c
kvm tools, 8250: Don't set the UART_LSR_OE bit

User input is buffered anyway, so it's pointless to set the UART_LSR_OE bit.
Instead, wait for the guest kernel to consume the current input and send a new
character when the guest is ready.

This fixes the following warnings in guest kernels:

[  207.485000] ttyS0: 1 input overrun(s)

Reported-by: Asias He <asias.hejun@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/8250-serial.c