Mailing List Archive

Further fix to same_vm check. This fixes intermittent failure of live
# HG changeset patch
# User emellor@leeni.uk.xensource.com
# 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@xensource.com>

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@lists.xensource.com
http://lists.xensource.com/xen-changelog
Further fix to same_vm check. This fixes intermittent failure of live [ In reply to ]
# HG changeset patch
# User emellor@leeni.uk.xensource.com
# 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@xensource.com>

xen-unstable cset: bc398d47d08f9ec802ad7977ff6fe12295812d0a
committer: Robert Read <robert@xensource.com>

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@lists.xensource.com
http://lists.xensource.com/xen-changelog