• L
    Block live migration · c163b5ca
    lirans@il.ibm.com 提交于
    This patch introduces block migration called during live migration. Block
    are being copied to the destination in an async way. First the code will
    transfer the whole disk and then transfer all dirty blocks accumulted during
    the migration.
    Still need to improve transition from the iterative phase of migration to the
    end phase. For now transition will take place when all blocks transfered once,
    all the dirty blocks will be transfered during the end phase (guest is
    suspended).
    
    Changes from v4:
    - Global variabels moved to a global state structure allocated dynamically.
    - Minor coding style issues.
    - Poll block.c for tracking of dirty blocks instead of manage it here.
    Signed-off-by: NLiran Schour <lirans@il.ibm.com>
    Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
    c163b5ca
savevm.c 44.2 KB