Re: [Qemu-devel] [PATCH for-2.5] call bdrv_drain_all() even if the vm is stopped

2015-11-23 Thread Paolo Bonzini
On 20/11/2015 10:34, Wen Congyang wrote: > There are still I/O operations when the vm is stopped. For example, stop the > vm, and do block > migration. In this case, we don't drain all I/O operation, and may meet the > following problem: > qemu-system-x86_64: migration/block.c:731:

[Qemu-devel] [PATCH for-2.5] call bdrv_drain_all() even if the vm is stopped

2015-11-20 Thread Wen Congyang
There are still I/O operations when the vm is stopped. For example, stop the vm, and do block migration. In this case, we don't drain all I/O operation, and may meet the following problem: qemu-system-x86_64: migration/block.c:731: block_save_complete: Assertion `block_mig_state.submitted == 0'