]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: implement memory setting functions
authorNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
Fri, 8 Apr 2016 09:36:45 +0000 (12:36 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Mon, 11 Apr 2016 17:00:01 +0000 (20:00 +0300)
commitad584cbb6cfd4a13dfe6bb80650edbebc7fba8a9
treedae9b6ce4415567e91eafe1ea6f7d947ae45c797
parent3fbb7dba33a527cf32f5c244784a2caf174963ff
vz: implement memory setting functions

Quite straigthforward as vz sdk memory setting function makes
just what we want to that is set "amount of physical memory
allocated to a domain".

'useflags' is introduced for non flag function implementation.
We can't just use combination of flags like "live | config" or
we fail for inactive domains. Other combinations have drawbacks
too.

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