[CRIU] [PATCH v2 04/12] p.haul: add parsing of shared disk string

Nikita Spiridonov nspiridonov at virtuozzo.com
Mon Apr 11 05:43:17 PDT 2016


Acked-by: Nikita Spiridonov <nspiridonov at virtuozzo.com>

On Sat, 2016-04-09 at 16:41 +0300, Alexander Burluka wrote:
> Signed-off-by: Alexander Burluka <aburluka at virtuozzo.com>
> ---
>  phaul/fs_haul_ploop.py | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/phaul/fs_haul_ploop.py b/phaul/fs_haul_ploop.py
> index 3fde112..194c5d9 100644
> --- a/phaul/fs_haul_ploop.py
> +++ b/phaul/fs_haul_ploop.py
> @@ -77,6 +77,11 @@ class p_haul_fs:
>  			self.__ploop_copies.append(
>  				libploop.ploopcopy(ddxml_path, delta_fd))
>  
> +	def __parse_shared_ploops(self, shareds):
> +		if not shareds:
> +			return []
> +		return (get_delta_abspath(s, self.__ct_priv) for s in shareds.split(","))
> +
>  	def set_options(self, opts):
>  		pass
>  




More information about the CRIU mailing list