]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Fix input hang when compiling without optimization
authorSasha Levin <levinsasha928@gmail.com>
Wed, 6 Apr 2011 18:47:27 +0000 (21:47 +0300)
committerPekka Enberg <penberg@kernel.org>
Wed, 6 Apr 2011 18:51:43 +0000 (21:51 +0300)
commitf4b86f676ab14dc54d786db190a7ff4c7553ffb5
tree552711515e4087e453d359a78e6654f71b54da9c
parent7f5e12352198252c84beb07980a94531f24f5a88
kvm tools: Fix input hang when compiling without optimization

When compiling without optimizations (-O0) input would hang.
This was caused by poll() returning there was data to read but read()
failing.

Signed-off-by: Sasha Levin <levinsasha928@gmail.com>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/8250-serial.c