This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


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

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] Default to appending to "extra" in XenConfig.
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 24 Oct 2006 15:00:41 +0000
Delivery-date: Tue, 24 Oct 2006 08:01:13 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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)
             self.opts[name] = value

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] Default to appending to "extra" in XenConfig., Xen patchbot-unstable <=