[CRIU] [PATCH 05/12] p.haul: add vz specific parameter "--shared"

Nikita Spiridonov nspiridonov at virtuozzo.com
Tue Apr 5 02:54:23 PDT 2016


On Fri, 2016-04-01 at 18:45 +0300, Alexander Burluka wrote:
> Signed-off-by: Alexander Burluka <aburluka at virtuozzo.com>
> ---
>  phaul/p_haul_vz.py | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/phaul/p_haul_vz.py b/phaul/p_haul_vz.py
> index c20ed5b..49c756a 100644
> --- a/phaul/p_haul_vz.py
> +++ b/phaul/p_haul_vz.py
> @@ -289,6 +289,7 @@ class p_haul_type:
>  def add_hauler_args(parser):
>  	"""Add Virtuozzo specific command line arguments"""
>  	parser.add_argument("--vz-dst-ctid", help="ctid at destination")
> +	parser.add_argument("--shared", help="ctid at destination")

Please rename argument to something like --vz-shared-disks (or
--vz-shared-fs-deltas). "vz" prefix needed to preserve  module-specific
arguments semantics. Suffix needed since "--vz-shared" name is
ambiguous.

Also fix help string

>  
> 
>  def _parse_vz_config(body):




More information about the CRIU mailing list