]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: factor out config update flags checks
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Fri, 8 Apr 2016 09:36:44 +0000 (12:36 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Mon, 11 Apr 2016 16:58:30 +0000 (19:58 +0300)
commit3fbb7dba33a527cf32f5c244784a2caf174963ff
treeea09561b0ad6024e4ea58a8be44922c8d1abfe7c
parent1d9d0c93972f359593545d620e2c552684121a09
vz: factor out config update flags checks

Actually this is not pure refactoring. Part of common code is
replaced with virDomainObjUpdateModificationImpact and this
a good replacement. It includes removed check of inactive
domain and active flags set. Additionally we resolve
current flag in accordance with current state of domain.
Thus it becames possible to attach/detach devices for
inactive domains if this flag is set.

Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
src/vz/vz_driver.c