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