99725f9 qemu: migration: use sync block job helpers

1 file Authored by mchapman 8 years ago, Committed by mprivozn 8 years ago,
    qemu: migration: use sync block job helpers
    
    In qemuMigrationDriveMirror we can start all disk mirrors in parallel.
    We wait until they are all ready, or one of them aborts.
    
    In qemuMigrationCancelDriveMirror, we wait until all mirrors are
    properly stopped. This is necessary to ensure that destination VM is
    fully in sync with the (paused) source VM.
    
    If a drive mirror can not be cancelled, then the destination is not in a
    consistent state. In this case it is not safe to continue with the
    migration.
    
    Signed-off-by: Michael Chapman <mike@very.puzzling.org>
    
        
file modified
+266 -173