[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] [xen-unstable] Default to appending to "extra" in XenConfig.



# HG changeset patch
# User Ewan Mellor <ewan@xxxxxxxxxxxxx>
# Node ID a7406ab550ae75b38b07b0269d56be0ea51c4e19
# Parent  c67821622c046da7b067beadba4caa1ac7ff7a1b
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@xxxxxxxxxxxxxxxxxx>
---
 tools/xm-test/lib/XmTestLib/XenDomain.py |    3 +++
 1 files changed, 3 insertions(+)

diff -r c67821622c04 -r a7406ab550ae tools/xm-test/lib/XmTestLib/XenDomain.py
--- a/tools/xm-test/lib/XmTestLib/XenDomain.py  Mon Oct 23 10:16:48 2006 +0100
+++ b/tools/xm-test/lib/XmTestLib/XenDomain.py  Mon Oct 23 10:17:10 2006 +0100
@@ -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
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.