Skip to content
  • Paolo Bonzini's avatar
    e69d50d6
    migration, vl: start migration via qmp_migrate_incoming · e69d50d6
    Paolo Bonzini authored
    
    
    Make qemu_start_incoming_migration local to migration/migration.c.
    By using the runstate instead of a separate flag, vl need not do
    anything to setup deferred incoming migration.
    
    qmp_migrate_incoming also does not need the deferred_incoming flag
    anymore, because "-incoming PROTOCOL" will clear the "once" flag
    before the main loop starts.  Therefore, later invocations of
    the migrate-incoming command will fail with the existing
    "The incoming migration has already been started" error message.
    
    Reviewed-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
    e69d50d6
    migration, vl: start migration via qmp_migrate_incoming
    Paolo Bonzini authored
    
    
    Make qemu_start_incoming_migration local to migration/migration.c.
    By using the runstate instead of a separate flag, vl need not do
    anything to setup deferred incoming migration.
    
    qmp_migrate_incoming also does not need the deferred_incoming flag
    anymore, because "-incoming PROTOCOL" will clear the "once" flag
    before the main loop starts.  Therefore, later invocations of
    the migrate-incoming command will fail with the existing
    "The incoming migration has already been started" error message.
    
    Reviewed-by: default avatarIgor Mammedov <imammedo@redhat.com>
    Signed-off-by: default avatarPaolo Bonzini <pbonzini@redhat.com>
Loading