[CRIU] [PATCH 4/5] module: Rename into criu_cr

Pavel Emelyanov xemul at parallels.com
Thu Oct 22 07:14:25 PDT 2015


Signed-off-by: Pavel Emelyanov <xemul at parallels.com>
---
 phaul/{p_haul_module.py => criu_cr.py} | 0
 phaul/p_haul_lxc.py                    | 6 +++---
 phaul/p_haul_pid.py                    | 6 +++---
 phaul/p_haul_vz.py                     | 4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)
 rename phaul/{p_haul_module.py => criu_cr.py} (100%)

diff --git a/phaul/p_haul_module.py b/phaul/criu_cr.py
similarity index 100%
rename from phaul/p_haul_module.py
rename to phaul/criu_cr.py
diff --git a/phaul/p_haul_lxc.py b/phaul/p_haul_lxc.py
index 0f685d9..c3807e8 100644
--- a/phaul/p_haul_lxc.py
+++ b/phaul/p_haul_lxc.py
@@ -5,7 +5,7 @@
 import os
 import shutil
 import logging
-import p_haul_module
+import criu_cr
 import util
 import fs_haul_shared
 import fs_haul_subtree
@@ -115,10 +115,10 @@ class p_haul_type:
 		shutil.copy(os.path.join(dir, "config"), self.__ct_config())
 
 	def final_dump(self, pid, img, ccon, fs):
-		p_haul_module.criu_dump(self, pid, img, ccon, fs)
+		criu_cr.criu_dump(self, pid, img, ccon, fs)
 
 	def final_restore(self, img, connection):
-		p_haul_module.criu_restore(self, img, connection)
+		criu_cr.criu_restore(self, img, connection)
 
 	def prepare_ct(self, pid):
 		pass
diff --git a/phaul/p_haul_pid.py b/phaul/p_haul_pid.py
index 19e3b21..e354dff 100644
--- a/phaul/p_haul_pid.py
+++ b/phaul/p_haul_pid.py
@@ -3,7 +3,7 @@
 #
 
 import logging
-import p_haul_module
+import criu_cr
 import fs_haul_shared
 
 class p_haul_type:
@@ -63,10 +63,10 @@ class p_haul_type:
 		pass
 
 	def final_dump(self, pid, img, ccon, fs):
-		p_haul_module.criu_dump(self, pid, img, ccon, fs)
+		criu_cr.criu_dump(self, pid, img, ccon, fs)
 
 	def final_restore(self, img, connection):
-		p_haul_module.criu_restore(self, img, connection)
+		criu_cr.criu_restore(self, img, connection)
 
 	# Things are started to get restored, only the
 	# first task (with pid @pid) is created.
diff --git a/phaul/p_haul_vz.py b/phaul/p_haul_vz.py
index f809464..903006d 100644
--- a/phaul/p_haul_vz.py
+++ b/phaul/p_haul_vz.py
@@ -6,7 +6,7 @@ import os
 import subprocess
 import shlex
 import logging
-import p_haul_module
+import criu_cr
 import util
 import fs_haul_shared
 import fs_haul_ploop
@@ -148,7 +148,7 @@ class p_haul_type:
 			os.remove(path)
 
 	def final_dump(self, pid, img, ccon, fs):
-		p_haul_module.criu_dump(self, pid, img, ccon, fs)
+		criu_cr.criu_dump(self, pid, img, ccon, fs)
 
 	def final_restore(self, img, connection):
 		"""Perform Virtuozzo-specific final restore"""
-- 
1.9.3




More information about the CRIU mailing list