]> git.proxmox.com Git - qemu.git/commit - block-migration.c
block-migration: Flush requests in blk_mig_cleanup
authorKevin Wolf <kwolf@redhat.com>
Tue, 25 Sep 2012 13:47:36 +0000 (15:47 +0200)
committerKevin Wolf <kwolf@redhat.com>
Fri, 28 Sep 2012 15:43:28 +0000 (17:43 +0200)
commit946d58be1533bf843b499df12e1d9f97b28245c8
tree7765d932b1d3f008bf6e3202907183c66d5652ba
parent6f8fd2530e9a530f237240daf1c981fa5df7f978
block-migration: Flush requests in blk_mig_cleanup

When cancelling block migration, all in-flight requests of the block
migration must be completed before the data can be freed. This was
visible as failing assertions and segfaults.

Reported-by: Peter Lieven <pl@dlhnet.de>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
block-migration.c