dom0: do not start gui daemon when preparing DispVM

This commit is contained in:
Marek Marczykowski 2011-12-27 15:37:23 +01:00
parent b8b5cf0a17
commit b77e48f688

View File

@ -1145,7 +1145,7 @@ class QubesVm(object):
self.force_shutdown()
raise OSError ("ERROR: Cannot execute qrexec_daemon!")
if os.path.exists('/var/run/shm.id'):
if not preparing_dvm and os.path.exists('/var/run/shm.id'):
self.start_guid(verbose=verbose)
if preparing_dvm: