aboutsummaryrefslogtreecommitdiffstats
path: root/tools/python
diff options
context:
space:
mode:
Diffstat (limited to 'tools/python')
-rw-r--r--tools/python/xen/xend/XendOptions.py4
-rw-r--r--tools/python/xen/xend/tests/xend-config.sxp2
2 files changed, 6 insertions, 0 deletions
diff --git a/tools/python/xen/xend/XendOptions.py b/tools/python/xen/xend/XendOptions.py
index e2651e328e..cc6f38ed2c 100644
--- a/tools/python/xen/xend/XendOptions.py
+++ b/tools/python/xen/xend/XendOptions.py
@@ -349,6 +349,10 @@ class XendOptions:
else:
return None
+ def get_external_migration_tool(self):
+ """@return the name of the tool to handle virtual device migration."""
+ return self.get_config_string('external-migration-tool', self.external_migration_tool_default)
+
def get_enable_dump(self):
return self.get_config_bool('enable-dump', 'no')
diff --git a/tools/python/xen/xend/tests/xend-config.sxp b/tools/python/xen/xend/tests/xend-config.sxp
index 9f26e3419b..8f9ec5b8e0 100644
--- a/tools/python/xen/xend/tests/xend-config.sxp
+++ b/tools/python/xen/xend/tests/xend-config.sxp
@@ -127,3 +127,5 @@
# Whether to enable core-dumps when domains crash.
#(enable-dump no)
+# The tool used for initiating virtual device migration
+#(external-migration-tool '')