]> Git Repo - qemu.git/commit - block.c
block: Clean up after deleting BHs
authorAvi Kivity <[email protected]>
Tue, 23 Jun 2009 13:20:36 +0000 (16:20 +0300)
committerAnthony Liguori <[email protected]>
Fri, 10 Jul 2009 18:44:30 +0000 (13:44 -0500)
commit36afc451599175eb8f03f1962de74e7f7a8af4db
treeffbbdd33f4baf0460a6ef021892c1d89f3df19d4
parent0884657b2e39f2cf85dfa99361817fde07e83786
block: Clean up after deleting BHs

Commit 6a7ad299 ("Call qemu_bh_delete at bdrv_aio_bh_cb") deletes emulated
aio bottom halves to prevent endless accumulation.  However, it leaves a
stale ->bh pointer, which is then waited on when the aio is reused.

Zeroing the pointer fixes the issue, allowing vmdk format images to be used.

Signed-off-by: Avi Kivity <[email protected]>
Signed-off-by: Anthony Liguori <[email protected]>
block.c
This page took 0.022758 seconds and 4 git commands to generate.