vzmigrate: use ploop-copy for offline migration of running CT

To minimize CT downtime, let's use ploop copy for the case of
non-live migration of a running CT. It's pretty similar to live
migration, the only difference is we stop CT instead of suspending it.

Note we have to use --skip-mount option here (just introduced in
commit 8930f16f), otherwise vzctl stop umounts the ploop device
and ploop-copy fails.

Signed-off-by: Kir Kolyshkin <kir@openvz.org>
1 file changed