vm/qubesvm: fix handling vm.storage.verify() errors
except section try to access qmemman_client variable - make it defined at that stage.
This commit is contained in:
parent
a92dd99fbb
commit
23ee8aeb47
@ -867,6 +867,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
|
|||||||
pre_event=True,
|
pre_event=True,
|
||||||
start_guid=start_guid, mem_required=mem_required)
|
start_guid=start_guid, mem_required=mem_required)
|
||||||
|
|
||||||
|
qmemman_client = None
|
||||||
try:
|
try:
|
||||||
yield from self.storage.verify()
|
yield from self.storage.verify()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user