From 1831088c9b6bac5845c29baaba94a9421b9b39a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Wed, 17 May 2017 14:24:59 +0200 Subject: [PATCH] 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. --- qubes/api/internal.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qubes/api/internal.py b/qubes/api/internal.py index f400cdbe..68cad53c 100644 --- a/qubes/api/internal.py +++ b/qubes/api/internal.py @@ -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()