]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: prepare migration for ACL checks
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Fri, 24 Jun 2016 14:32:36 +0000 (17:32 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Tue, 23 Aug 2016 16:48:01 +0000 (19:48 +0300)
commit5a435726efcd124b93b424c8e7a91f978a8ee65e
treec25b366f887b4cc28dc0d0aeeb6190e1dcda3e06
parent5a78ef91faa317966cf95a1ed358d168d291813a
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>
src/vz/vz_driver.c