From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Breeds Subject: [PATCH 9/10][TOOLS][XM-TEST] Default to appending to "extra" in XenConfig Date: Fri, 20 Oct 2006 13:22:14 +1000 Message-ID: <20061020032207.GP27551@bakeyournoodle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-ppc-devel-bounces@lists.xensource.com Errors-To: xen-ppc-devel-bounces@lists.xensource.com To: Xen-Devel Cc: XenPPC-devel List-Id: xen-devel@lists.xenproject.org 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 --- 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