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

Alexander Burluka aburluka at virtuozzo.com
Fri Apr 1 08:45:21 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 61c7465..63c2a64 100644
--- a/phaul/fs_haul_ploop.py
+++ b/phaul/fs_haul_ploop.py
@@ -76,6 +76,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_ploop_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