From f3b71dcdef4de96ae6446c87ecb41a531a07439b Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 7 Dec 2015 10:48:57 +0100 Subject: [PATCH] Fix ProcessLookupError in Qemu Fix #373 --- gns3server/modules/qemu/qemu_vm.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gns3server/modules/qemu/qemu_vm.py b/gns3server/modules/qemu/qemu_vm.py index a14e2a49..4e79a2f4 100644 --- a/gns3server/modules/qemu/qemu_vm.py +++ b/gns3server/modules/qemu/qemu_vm.py @@ -915,6 +915,8 @@ class QemuVM(BaseVM): else: self._process.terminate() yield from gns3server.utils.asyncio.wait_for_process_termination(self._process, timeout=3) + except ProcessLookupError: + pass except asyncio.TimeoutError: try: self._process.kill()