vm/qubesvm: vm.storage.stop() is a coroutine

This commit is contained in:
Marek Marczykowski-Górecki 2017-11-20 22:49:52 +01:00
parent cf92a576ad
commit 9519f158ab
No known key found for this signature in database
GPG Key ID: 063938BA42CFA724

View File

@ -900,7 +900,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
# let anyone receiving domain-pre-start know that startup failed
yield from self.fire_event_async('domain-start-failed',
reason=str(exc))
self.storage.stop()
yield from self.storage.stop()
raise
finally: