5a43572 vz: prepare migration for ACL checks

1 file Authored by Nikolay Shirokovskiy 7 years ago, Committed by Maxim Nestratov 7 years ago,
    vz: prepare migration for ACL checks
    
      ACL check on perform step should be in API call itself to make ACL
    checking script pass. Thus we need to reorganize code to obtain
    domain object in perform API itself. Most of this is straight
    forward, the only nuance is dropping locks on lengthy remote
    operations.
      The other motivation is to have only perform step ACL checks for
    p2p migration instead of both begin in perform if we can leave
    ACL check in vzDomainMigratePerformStep.
    
    Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
    
        
file modified
+62 -44