summaryrefslogtreecommitdiffstats
path: root/block.h
diff options
context:
space:
mode:
authorStefan Hajnoczi2011-11-30 13:23:42 +0100
committerKevin Wolf2011-12-05 14:52:34 +0100
commit5f8b6491f20732e0a31e64bbf75b62def579e044 (patch)
tree2da9621db484711a4d29fdbf2df729c0545d0dcc /block.h
parentblock: implement bdrv_co_is_allocated() boundary cases (diff)
downloadqemu-5f8b6491f20732e0a31e64bbf75b62def579e044.tar.gz
qemu-5f8b6491f20732e0a31e64bbf75b62def579e044.tar.xz
qemu-5f8b6491f20732e0a31e64bbf75b62def579e044.zip
block: wait_for_overlapping_requests() deadlock detection
Debugging a reentrant request deadlock was fun but in the future we need a quick and obvious way of detecting such bugs. Add an assert that checks we are not about to deadlock when waiting for another request. Suggested-by: Kevin Wolf <kwolf@redhat.com> Signed-off-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block.h')
0 files changed, 0 insertions, 0 deletions