mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
xend: Fix wait-for-stubdom loop to avoid possible infinite loop
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
This commit is contained in:
1 parent
56b0c617c9
commit
fb95b70c12
1 file changed
+2
-2
@@ -487,8 +487,8 @@ class ImageHandler:
|
||||
|
||||
time.sleep(0.1)
|
||||
count += 1
|
||||
if count < 100:
|
||||
continue
|
||||
if count > 100:
|
||||
break
|
||||
|
||||
domains.domains_lock.acquire()
|
||||
|
||||
|
||||