xend: Platform feature 'multiprocessor suspend' is x86-only for now.

Signed-off-by: Keir Fraser <keir@xensource.com>
This commit is contained in:
kfraser@localhost.localdomain committed 2007-03-08 14:57:33 +00:00
1 parent f534f3a9c3
commit c53fa753e2
1 file changed
+3 -1
+3 -1
View File
@@ -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('_', '-')
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.