[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] xend: reinstate XendOptionsFile.get_external_migration_tool


  • To: xen-changelog@xxxxxxxxxxxxxxxxxxx
  • From: Xen patchbot-unstable <patchbot@xxxxxxx>
  • Date: Wed, 21 Nov 2012 03:11:17 +0000
  • Delivery-date: Wed, 21 Nov 2012 03:11:22 +0000
  • List-id: "Change log for Mercurial \(receive only\)" <xen-changelog.lists.xen.org>

# 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.