Paolo Bonzini 2914caa088 block: take lock around bdrv_read implementations
This does the first part of the conversion to coroutines, by
wrapping bdrv_read implementations to take the mutex.

Drivers that implement bdrv_read rather than bdrv_co_readv can
then benefit from asynchronous operation (at least if the underlying
protocol supports it, which is not the case for raw-win32), even
though they still operate with a bounce buffer.

raw-win32 does not need the lock, because it cannot yield.
nbd also doesn't probably, but better be safe.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
2011-10-21 17:34:14 +02:00
2011-10-16 11:11:56 +00:00
2011-10-21 17:34:13 +02:00
2011-10-16 10:40:16 +00:00
2011-10-19 10:48:57 -02:00
2011-10-11 15:57:07 +02:00
2011-10-11 15:57:07 +02:00
2011-10-16 11:11:56 +00:00
2011-10-11 15:57:09 +02:00
2011-10-21 17:34:12 +02:00
2011-10-21 17:34:12 +02:00
2011-10-21 17:34:12 +02:00
2011-10-21 17:34:12 +02:00
2011-10-19 10:48:57 -02:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
QEMU With E2K User Support
Readme 459 MiB
Languages
C 83.1%
C++ 6.3%
Python 3.2%
Dylan 2.8%
Shell 1.6%
Other 2.8%