Asyncio qemu fix and raise error if coroutine not used

This commit is contained in:
Julien Duponchelle committed 2015-10-12 17:06:50 +02:00
1 parent 5cb2b33a99
commit 91c2bd7e98
2 files changed
+4 -1

No files matched your search

+1 -1
View File
@@ -870,7 +870,7 @@ class QemuVM(BaseVM):
log.error("Could not start QEMU {}: {}\n{}".format(self.qemu_path, e, stdout))
raise QemuError("Could not start QEMU {}: {}\n{}".format(self.qemu_path, e, stdout))
self._set_process_priority()
yield from self._set_process_priority()
if self._cpu_throttling:
self._set_cpu_throttling()