ia64/xen-unstable

changeset 11954:a7406ab550ae

Default to appending to "extra" in XenConfig.

PowerPC needs console information from the command line. Resetting the whole
command line causes false failures.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
author Ewan Mellor <ewan@xensource.com>
date Mon Oct 23 10:17:10 2006 +0100 (2006-10-23)
parents c67821622c04
children ae3cb77e8971
files tools/xm-test/lib/XmTestLib/XenDomain.py
line diff
     1.1 --- a/tools/xm-test/lib/XmTestLib/XenDomain.py	Mon Oct 23 10:16:48 2006 +0100
     1.2 +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py	Mon Oct 23 10:17:10 2006 +0100
     1.3 @@ -102,6 +102,9 @@ class XenConfig:
     1.4          if name in self.opts.keys() and isinstance(self.opts[name] ,
     1.5                                          list) and not isinstance(value, list):
     1.6                  self.opts[name] = [value]
     1.7 +        # "extra" is special so append to it.
     1.8 +        elif name == "extra" and name in self.opts.keys():
     1.9 +            self.opts[name] += " %s" % (value)
    1.10          else:
    1.11              self.opts[name] = value
    1.12