]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Make 8250 code thread-safe
authorPekka Enberg <penberg@kernel.org>
Sat, 9 Apr 2011 10:15:53 +0000 (13:15 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 9 Apr 2011 10:21:35 +0000 (13:21 +0300)
commitc62f6b0066dd98cb471b7bc19e9d72c1ea9acc3c
tree961596e3ca3b22038d5d9fa7d3217289909d4ae6
parent21ee63ac4e6656f8bbe32b6ead3c72267836ba40
kvm tools: Make 8250 code thread-safe

In preparation for threaded execution, make 8250 code thread safe by
introducing a per-device mutex.

Cc: Asias He <asias.hejun@gmail.com>
Cc: Cyrill Gorcunov <gorcunov@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Pekka Enberg <penberg@kernel.org>
tools/kvm/8250-serial.c
tools/kvm/Makefile