mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 02:30:03 +01:00
xend: Platform feature 'multiprocessor suspend' is x86-only for now.
Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
1 parent
f534f3a9c3
commit
c53fa753e2
1 file changed
+3
-1
@@ -781,7 +781,6 @@ class XendDomainInfo:
|
||||
'name': self.info['name_label'],
|
||||
'console/limit': str(xoptions.get_console_limit() * 1024),
|
||||
'memory/target': str(self.info['memory_static_min'] * 1024),
|
||||
'control/platform-feature-multiprocessor-suspend': str(1)
|
||||
}
|
||||
|
||||
def f(n, v):
|
||||
@@ -796,6 +795,9 @@ class XendDomainInfo:
|
||||
f('store/port', self.store_port)
|
||||
f('store/ring-ref', self.store_mfn)
|
||||
|
||||
if arch.type == "x86":
|
||||
f('control/platform-feature-multiprocessor-suspend', True)
|
||||
|
||||
# elfnotes
|
||||
for n, v in self.info.get_notes().iteritems():
|
||||
n = n.lower().replace('_', '-')
|
||||
|
||||