diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 2668c040..59ab113b 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -1337,7 +1337,7 @@ class QubesVm(object): self.force_shutdown() raise OSError ("ERROR: Cannot execute qrexec_daemon!") - def start(self, debug_console = False, verbose = False, preparing_dvm = False): + def start(self, debug_console = False, verbose = False, preparing_dvm = False, start_guid = True): if dry_run: return @@ -1412,7 +1412,7 @@ class QubesVm(object): if not preparing_dvm: self.start_qrexec_daemon(verbose=verbose) - if not preparing_dvm and os.path.exists('/var/run/shm.id'): + if start_guid and not preparing_dvm and os.path.exists('/var/run/shm.id'): self.start_guid(verbose=verbose) if preparing_dvm: diff --git a/dom0/qvm-tools/qvm-start b/dom0/qvm-tools/qvm-start index 4f3c3732..fd1bf67e 100755 --- a/dom0/qvm-tools/qvm-start +++ b/dom0/qvm-tools/qvm-start @@ -85,7 +85,7 @@ def main(): try: vm.verify_files() - xid = vm.start(debug_console=options.debug_console, verbose=options.verbose, preparing_dvm=options.preparing_dvm) + xid = vm.start(debug_console=options.debug_console, verbose=options.verbose, preparing_dvm=options.preparing_dvm, start_guid=not options.noguid) except (IOError, OSError, QubesException) as err: print >> sys.stderr, "ERROR: {0}".format(err) exit (1)