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] [xen-unstable] xend: Fix wait-for-stubdom loop to avoid

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xend: Fix wait-for-stubdom loop to avoid possible infinite loop
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Thu, 14 Jan 2010 02:20:24 -0800
Delivery-date: Thu, 14 Jan 2010 02:21:09 -0800
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/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/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 Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1263464057 0
# Node ID e406e3451835a6829ce602b0003a6b1584415ebd
# Parent  c3d3e3c8e5f493e7177833adc20730879e04e8cd
xend: Fix wait-for-stubdom loop to avoid possible infinite loop

Signed-off-by: Keir Fraser <keir.fraser@xxxxxxxxxx>
---
 tools/python/xen/xend/image.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r c3d3e3c8e5f4 -r e406e3451835 tools/python/xen/xend/image.py
--- a/tools/python/xen/xend/image.py    Thu Jan 14 10:12:58 2010 +0000
+++ b/tools/python/xen/xend/image.py    Thu Jan 14 10:14:17 2010 +0000
@@ -487,8 +487,8 @@ class ImageHandler:
 
                 time.sleep(0.1)
                 count += 1
-                if count < 100:
-                    continue
+                if count > 100:
+                    break
 
             domains.domains_lock.acquire()
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-unstable] xend: Fix wait-for-stubdom loop to avoid possible infinite loop, Xen patchbot-unstable <=