commit | 36afc451599175eb8f03f1962de74e7f7a8af4db | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Tue Jun 23 16:20:36 2009 +0300 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Fri Jul 10 13:44:30 2009 -0500 |
tree | ffbbdd33f4baf0460a6ef021892c1d89f3df19d4 | |
parent | 0884657b2e39f2cf85dfa99361817fde07e83786 [diff] |
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 <avi@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>