]> git.ipfire.org Git - thirdparty/libvirt.git/commit
vz: move prlsdkCheckDiskUnsupportedParams to vz_utils.c
authorMaxim Nestratov <mnestratov@virtuozzo.com>
Wed, 16 Mar 2016 11:55:27 +0000 (14:55 +0300)
committerMaxim Nestratov <mnestratov@virtuozzo.com>
Wed, 16 Mar 2016 16:34:27 +0000 (19:34 +0300)
commita9555e202e3b30bc97053a070a60eb204afd25dd
treef33c17155f2f3e79933ebc6c4a45f6ed74042a25
parentadbe76fb42815e47e91b6b2c0f744595ffd537cb
vz: move prlsdkCheckDiskUnsupportedParams to vz_utils.c

As long as we have another function checking disk parameters correctness,
let's have them in one place. Here we change prefix of the moved function and
start to call it from vzCheckUnsupportedDisks rather than add disk.

Signed-off-by: Maxim Nestratov <mnestratov@virtuozzo.com>
src/vz/vz_sdk.c
src/vz/vz_utils.c