• J
    libxl: start domain paused on migration dst · 60386825
    Jim Fehlig 提交于
    During the perform phase of migration, the domain is started on
    the dst host in a running state if VIR_MIGRATE_PAUSED flag is not
    specified.  In the finish phase, the domain is also unpaused if
    VIR_MIGRATE_PAUSED flag is unset.  I've noticed this second unpause
    fails if the domain was already unpaused following the perform phase.
    
    This patch changes the perform phase to always start the domain
    paused, and defers unpausing, if requested, to the finish phase.
    Unpausing should occur in the finish phase anyhow, where the domain
    can be properly destroyed if the perform phase fails and migration
    is cancelled.
    Signed-off-by: NJim Fehlig <jfehlig@suse.com>
    60386825
libxl_migration.c 18.5 KB