[REMOVEME] Dom0: Add UGLY sleeps hoping they will temporarily prevent the race condition
This commit is contained in:
parent
fc31161361
commit
3bd1c700f6
@ -911,7 +911,9 @@ class QubesVm(object):
|
|||||||
qmemman_client.close()
|
qmemman_client.close()
|
||||||
raise MemoryError ("ERROR: insufficient memory to start this VM")
|
raise MemoryError ("ERROR: insufficient memory to start this VM")
|
||||||
|
|
||||||
|
time.sleep(1) # REMOVEME!!!
|
||||||
xl_cmdline = ['sudo', '/usr/sbin/xl', 'create', self.conf_file, '-p']
|
xl_cmdline = ['sudo', '/usr/sbin/xl', 'create', self.conf_file, '-p']
|
||||||
|
time.sleep(1) # REMOVEME!!!
|
||||||
|
|
||||||
try:
|
try:
|
||||||
subprocess.check_call(xl_cmdline)
|
subprocess.check_call(xl_cmdline)
|
||||||
@ -940,6 +942,7 @@ class QubesVm(object):
|
|||||||
|
|
||||||
if verbose:
|
if verbose:
|
||||||
print "--> Starting the VM..."
|
print "--> Starting the VM..."
|
||||||
|
time.sleep(1) # REMOVEME!!!
|
||||||
xc.domain_unpause(xid)
|
xc.domain_unpause(xid)
|
||||||
|
|
||||||
if not preparing_dvm:
|
if not preparing_dvm:
|
||||||
|
Loading…
Reference in New Issue
Block a user