• N
    vz: factor out config update flags checks · 3fbb7dba
    Nikolay Shirokovskiy 提交于
    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: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
    3fbb7dba
vz_driver.c 42.3 KB