]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm tools: Make virtio block device code thread-safe
authorPekka Enberg <penberg@kernel.org>
Sat, 9 Apr 2011 10:25:41 +0000 (13:25 +0300)
committerPekka Enberg <penberg@kernel.org>
Sat, 9 Apr 2011 10:33:52 +0000 (13:33 +0300)
commit9f4b3f855f034eddd7aacdb572d3d292e6926b3a
tree25201a522122db233d187d7d2da498be1150b310
parentc62f6b0066dd98cb471b7bc19e9d72c1ea9acc3c
kvm tools: Make virtio block device code thread-safe

In preparation for threaded execution, make the virtio block device code 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/virtio-blk.c