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

[Xen-changelog] Further fix to same_vm check. This fixes intermittent failure of live



# 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
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®.