api/internal: don't try to start dom0

qrexec-policy do try to start a VM before executing service. Avoid this
here, instead of qrexec-policy to keep the later clean.
This commit is contained in:
Marek Marczykowski-Górecki 2017-05-17 14:24:59 +02:00
parent 4c7dafe85e
commit 1831088c9b
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -62,6 +62,8 @@ class QubesInternalAPI(qubes.api.AbstractQubesAPI):
@asyncio.coroutine
def start(self):
assert not self.arg
if self.dest.name == 'dom0':
return
yield from self.dest.start()