|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] [xen-unstable] xend: reinstate XendOptionsFile.get_external_migration_tool
# HG changeset patch
# User Ian Campbell <Ian.Campbell@xxxxxxxxxx>
# Date 1353431860 0
# Node ID 2489c29266982175b5b4e945c97b4549360e947f
# Parent ae6fb202b233af815466055d9f1a635802a50855
xend: reinstate XendOptionsFile.get_external_migration_tool
This was removed by 26167:31dcc0e08754 "xend: Remove old vtpm support
from xm" but at least one caller was left. Reinstate with
s/TPM/device/ since it appears that this functionality could apply
elsewhere.
Signed-off-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
Acked-by: Ian Jackson <ian.jackson@xxxxxxxxxxxxx>
Committed-by: Ian Campbell <ian.campbell@xxxxxxxxxx>
---
diff -r ae6fb202b233 -r 2489c2926698 tools/python/xen/xend/XendOptions.py
--- a/tools/python/xen/xend/XendOptions.py Tue Nov 20 08:58:31 2012 +0100
+++ b/tools/python/xen/xend/XendOptions.py Tue Nov 20 17:17:40 2012 +0000
@@ -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 -r ae6fb202b233 -r 2489c2926698 tools/python/xen/xend/tests/xend-config.sxp
--- a/tools/python/xen/xend/tests/xend-config.sxp Tue Nov 20 08:58:31
2012 +0100
+++ b/tools/python/xen/xend/tests/xend-config.sxp Tue Nov 20 17:17:40
2012 +0000
@@ -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 '')
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |