debuggers.hg
changeset 20851:e406e3451835
xend: Fix wait-for-stubdom loop to avoid possible infinite loop
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
author | Keir Fraser <keir.fraser@citrix.com> |
---|---|
date | Thu Jan 14 10:14:17 2010 +0000 (2010-01-14) |
parents | c3d3e3c8e5f4 |
children | 4a54c794bfd4 |
files | tools/python/xen/xend/image.py |
line diff
1.1 --- a/tools/python/xen/xend/image.py Thu Jan 14 10:12:58 2010 +0000 1.2 +++ b/tools/python/xen/xend/image.py Thu Jan 14 10:14:17 2010 +0000 1.3 @@ -487,8 +487,8 @@ class ImageHandler: 1.4 1.5 time.sleep(0.1) 1.6 count += 1 1.7 - if count < 100: 1.8 - continue 1.9 + if count > 100: 1.10 + break 1.11 1.12 domains.domains_lock.acquire() 1.13