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] Further fix to same_vm check. This fixes intermittent fa

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Further fix to same_vm check. This fixes intermittent failure of live
From: Xen patchbot -3.0-testing <patchbot-3.0-testing@xxxxxxxxxxxxxxxxxxx>
Date: Fri, 09 Dec 2005 10:06:18 +0000
Delivery-date: Fri, 09 Dec 2005 10:09:32 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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 emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 0d26cc24014b1a77256e000f8e915ef65ab5db02
# Parent  a082a85143ebb816c66620ad6bb020136b494e08
Further fix to same_vm check.  This fixes intermittent failure of live
localhost migration.

return [ test ] is not valid, simply [ test ] at the end of the function is the
correct syntax.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

xen-unstable cset: bc398d47d08f9ec802ad7977ff6fe12295812d0a
committer: Robert Read <robert@xxxxxxxxxxxxx>

diff -r a082a85143eb -r 0d26cc24014b tools/examples/block
--- a/tools/examples/block      Tue Dec  6 08:40:43 2005
+++ b/tools/examples/block      Wed Dec  7 03:43:43 2005
@@ -133,7 +133,7 @@
   local thisvm=$(xenstore-read "/local/domain/$thisdom/vm")
   local othervm=$(xenstore-read "/local/domain/$otherdom/vm")
-  return [ "$thisvm" == "$othervm" ]
+  [ "$thisvm" == "$othervm" ]

Xen-changelog mailing list

<Prev in Thread] Current Thread [Next in Thread>