diff options
author | Ewan Mellor <ewan@xensource.com> | 2006-10-23 10:17:10 +0100 |
---|---|---|
committer | Ewan Mellor <ewan@xensource.com> | 2006-10-23 10:17:10 +0100 |
commit | c4549d574a762d04f9cb0a130408d6591d291efb (patch) | |
tree | 1dce193aad1c4f4bb53bf241d05ae7604587e69a /tools/xm-test/lib | |
parent | 0d688bfee403a98f1c96274f868f83fca40f21a2 (diff) | |
download | xen-c4549d574a762d04f9cb0a130408d6591d291efb.tar.gz xen-c4549d574a762d04f9cb0a130408d6591d291efb.tar.bz2 xen-c4549d574a762d04f9cb0a130408d6591d291efb.zip |
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>
Diffstat (limited to 'tools/xm-test/lib')
-rw-r--r-- | tools/xm-test/lib/XmTestLib/XenDomain.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/xm-test/lib/XmTestLib/XenDomain.py b/tools/xm-test/lib/XmTestLib/XenDomain.py index 0a47a98089..40aaebf9b4 100644 --- a/tools/xm-test/lib/XmTestLib/XenDomain.py +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py @@ -102,6 +102,9 @@ class XenConfig: if name in self.opts.keys() and isinstance(self.opts[name] , list) and not isinstance(value, list): self.opts[name] = [value] + # "extra" is special so append to it. + elif name == "extra" and name in self.opts.keys(): + self.opts[name] += " %s" % (value) else: self.opts[name] = value |