Tony Breeds
2006-Oct-20 03:22 UTC
[XenPPC] [PATCH 9/10][TOOLS][XM-TEST] Default to appending to "extra" in XenConfig
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> --- tools/xm-test/lib/XmTestLib/XenDomain.py | 3 +++ 1 file changed, 3 insertions(+) --- a/tools/xm-test/lib/XmTestLib/XenDomain.py Thu Oct 19 12:14:50 2006 +1000 +++ b/tools/xm-test/lib/XmTestLib/XenDomain.py Thu Oct 19 17:01:02 2006 +1000 @@ -97,6 +97,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 _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel