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@citrix.com>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
Committed-by: Ian Campbell <ian.campbell@citrix.com>
This commit is contained in:
Ian Campbell committed 2012-11-20 17:17:40 +00:00
1 parent 2cb5154f08
commit 7e34a52d1b
2 files changed
+6

No files matched your search

+4
View File
@@ -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')
@@ -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 '')
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.