diff --git a/tools/python/xen/xend/image.py b/tools/python/xen/xend/image.py index db6e6658f6..778c0687e6 100644 --- a/tools/python/xen/xend/image.py +++ b/tools/python/xen/xend/image.py @@ -487,8 +487,8 @@ class ImageHandler: time.sleep(0.1) count += 1 - if count < 100: - continue + if count > 100: + break domains.domains_lock.acquire()