summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorKevin Wolf2018-04-04 13:26:16 +0200
committerKevin Wolf2018-06-18 15:03:25 +0200
commit6d0252f2f9cb49925deb1c41101462c9481dfc90 (patch)
treec0fba8114304c15c1b3af817c156836c2946495e /include
parentblock: Don't manually poll in bdrv_drain_all() (diff)
downloadqemu-6d0252f2f9cb49925deb1c41101462c9481dfc90.tar.gz
qemu-6d0252f2f9cb49925deb1c41101462c9481dfc90.tar.xz
qemu-6d0252f2f9cb49925deb1c41101462c9481dfc90.zip
tests/test-bdrv-drain: bdrv_drain_all() works in coroutines now
Since we use bdrv_do_drained_begin/end() for bdrv_drain_all_begin/end(), coroutine context is automatically left with a BH, preventing the deadlocks that made bdrv_drain_all*() unsafe in coroutine context. Now that we even removed the old polling code as dead code, it's obvious that it's compatible now. Enable the coroutine test cases for bdrv_drain_all(). Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions