]> git.ipfire.org Git - thirdparty/libvirt.git/commit
libxl: Use virDomainLiveConfigHelperMethod for libxlDomainSetMemoryFlags
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Wed, 24 Feb 2016 08:38:37 +0000 (11:38 +0300)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 4 Mar 2016 12:39:01 +0000 (07:39 -0500)
commit4cf22bdcfdebbe2fd4774465a36b0a88d31c2358
treed644cf48092a226815ca9b300d22b893ed8feae9
parent34111a60f894b86f416434f0ec39c37999af4998
libxl: Use virDomainLiveConfigHelperMethod for libxlDomainSetMemoryFlags

Flag expansion is the same as in virDomainObjUpdateModificationImpact
which virDomainLiveConfigHelperMethod calls internally. The difference
is merely in implementation. Note that VIR_DOMAIN_MEM_CONFIG is the
same as VIR_DOMAIN_AFFECT_CONFIG.  Additionally, the called functions
will properly use flag OR and thus handle the VIR_DOMAIN_MEM_MAXIMUM case.

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