WARNING - OLD ARCHIVES

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/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[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 -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 07 Dec 2005 14:20:11 +0000
Delivery-date: Wed, 07 Dec 2005 17:00:04 +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 bc398d47d08f9ec802ad7977ff6fe12295812d0a
# Parent  9089801e73ce3d6a84af37efe1c575b9c5e551cd
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>

diff -r 9089801e73ce -r bc398d47d08f tools/examples/block
--- a/tools/examples/block      Wed Dec  7 10:27:03 2005
+++ b/tools/examples/block      Wed Dec  7 11: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
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

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