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

Alexander Burluka aburluka at virtuozzo.com
Sat Apr 9 06:41:14 PDT 2016


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
 
-- 
1.8.3.1



More information about the CRIU mailing list