Re: [libvirt] [PATCH v2 3/4] lxc, libxl: reuse virDomainObjUpdateModificationImpact

2016-03-01 Thread Nikolay Shirokovskiy
On 01.03.2016 18:46, John Ferlan wrote: > > > On 02/24/2016 03:38 AM, Nikolay Shirokovskiy wrote: >> First fortunately all versions of *_CURRENT, *_CONFIG and *_LIVE flags >> are numerically equal. Second libxl functions that don't use masks >> for flag expansion forbid extra flags via virCheck

Re: [libvirt] [PATCH v2 3/4] lxc, libxl: reuse virDomainObjUpdateModificationImpact

2016-03-01 Thread John Ferlan
On 02/24/2016 03:38 AM, Nikolay Shirokovskiy wrote: > First fortunately all versions of *_CURRENT, *_CONFIG and *_LIVE flags > are numerically equal. Second libxl functions that don't use masks > for flag expansion forbid extra flags via virCheckFlags before. > > Signed-off-by: Nikolay Shirokovs

[libvirt] [PATCH v2 3/4] lxc, libxl: reuse virDomainObjUpdateModificationImpact

2016-02-24 Thread Nikolay Shirokovskiy
First fortunately all versions of *_CURRENT, *_CONFIG and *_LIVE flags are numerically equal. Second libxl functions that don't use masks for flag expansion forbid extra flags via virCheckFlags before. Signed-off-by: Nikolay Shirokovskiy --- src/libxl/libxl_driver.c | 63