Stefan Hajnoczi 9b536adcbe block: acquire AioContext in bdrv_drain_all()
Modify bdrv_drain_all() to take into account that BlockDriverState
instances may be running in different AioContexts.

This patch changes the implementation of bdrv_drain_all() while
preserving the semantics.  Previously kicking throttled requests and
checking for pending requests were done across all BlockDriverState
instances in sequence.  Now we process each BlockDriverState in turn,
making sure to acquire and release its AioContext.

This prevents race conditions between the thread executing
bdrv_drain_all() and the thread running the AioContext.

Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2014-06-04 09:56:11 +02:00
2014-05-30 14:26:54 +02:00
2014-05-28 14:28:46 +02:00
2013-04-18 13:50:53 +02:00
2014-05-20 13:05:58 +02:00
2014-06-02 16:49:00 +02:00
2014-05-09 09:11:31 -04:00
2014-05-19 11:36:48 +02:00
2014-06-02 16:49:00 +02:00
2014-04-25 09:19:58 -04:00
2014-06-02 16:28:59 +02:00
2014-06-02 16:10:12 +01:00
2014-05-22 18:14:01 +01:00
2014-03-12 17:26:32 +01:00
2013-09-05 09:40:31 -05:00
2013-10-11 09:34:56 -07:00
2014-05-27 22:45:03 +01:00
2013-07-23 02:41:31 +02:00
2014-05-20 11:57:52 +01:00
2013-08-12 09:15:12 -05:00
2013-09-03 12:25:55 +02:00
2014-05-24 00:07:29 +04:00
2014-03-13 14:34:16 +00:00
2014-02-25 14:30:28 +01:00
2014-05-28 17:36:21 +02:00
2014-04-18 10:33:36 +04:00
2014-05-28 14:28:46 +02:00
2014-05-24 00:07:29 +04:00
2014-05-28 17:36:21 +02:00
2013-10-11 09:34:56 -07:00
2014-05-09 22:59:40 +02:00
2014-02-17 11:57:23 -05:00
2014-06-02 17:07:21 +01:00
2014-04-17 20:39:32 +01:00
2013-10-11 09:34:56 -07:00
2014-05-07 16:16:43 +00:00
2013-04-08 18:13:10 +02:00

Read the documentation in qemu-doc.html or on http://wiki.qemu-project.org

- QEMU team
Description
A fork of QEMU-Nyx which is better suited for my bachelors thesis
Readme 154 MiB
Languages
C 90.3%
Dylan 2.5%
Python 2.1%
C++ 2%
Shell 1.7%
Other 1.4%