ia64/xen-unstable

changeset 14306:90e8d8169afd

xend: Platform feature 'multiprocessor suspend' is x86-only for now.
Signed-off-by: Keir Fraser <keir@xensource.com>
author kfraser@localhost.localdomain
date Thu Mar 08 14:57:33 2007 +0000 (2007-03-08)
parents fdbd9b91a030
children 38513d22d234
files tools/python/xen/xend/XendDomainInfo.py
line diff
     1.1 --- a/tools/python/xen/xend/XendDomainInfo.py	Thu Mar 08 14:37:21 2007 +0000
     1.2 +++ b/tools/python/xen/xend/XendDomainInfo.py	Thu Mar 08 14:57:33 2007 +0000
     1.3 @@ -781,7 +781,6 @@ class XendDomainInfo:
     1.4              'name':               self.info['name_label'],
     1.5              'console/limit':      str(xoptions.get_console_limit() * 1024),
     1.6              'memory/target':      str(self.info['memory_static_min'] * 1024),
     1.7 -            'control/platform-feature-multiprocessor-suspend': str(1)
     1.8              }
     1.9  
    1.10          def f(n, v):
    1.11 @@ -796,6 +795,9 @@ class XendDomainInfo:
    1.12          f('store/port',       self.store_port)
    1.13          f('store/ring-ref',   self.store_mfn)
    1.14  
    1.15 +        if arch.type == "x86":
    1.16 +            f('control/platform-feature-multiprocessor-suspend', True)
    1.17 +
    1.18          # elfnotes
    1.19          for n, v in self.info.get_notes().iteritems():
    1.20              n = n.lower().replace('_', '-')