mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Fix nomigrate option implementation so that Xen builds.
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
87cb99a6dd
commit
1eb8140e5b
7 files changed
+22
-27
No files matched your search
@@ -2466,7 +2466,7 @@ class XendDomainInfo:
|
||||
|
||||
# If nomigrate is set, disable migration
|
||||
nomigrate = self.info["platform"].get("nomigrate")
|
||||
if arch.type == "x86" and nomigrate is not None and long(nomigrate) != 0:
|
||||
if nomigrate is not None and long(nomigrate) != 0:
|
||||
xc.domain_disable_migrate(self.domid)
|
||||
|
||||
# Optionally enable virtual HPET
|
||||
|
||||