vzmigrate: add checks based on vzcptcheck
In case of live migration, we want to check that
- CPT version on src and dest nodes are compatible
- CPU capabilities on dest node are adeqate for given CT
Checks are performed using vzcptcheck(8) utility. If it is absent from
either src or dest nodes, a warning is printed and migration is
continued without checks (as it was the case before this patch).
Should fix #2461
https://bugzilla.openvz.org/2461
Signed-off-by: Kir Kolyshkin <kir@openvz.org>
2 files changed