dom0/core: verify files before starting VM
This commit is contained in:
parent
cd8c64b345
commit
b4adf6fdd0
@ -1337,6 +1337,8 @@ class QubesVm(object):
|
|||||||
if self.get_power_state() != "Halted":
|
if self.get_power_state() != "Halted":
|
||||||
raise QubesException ("VM is already running!")
|
raise QubesException ("VM is already running!")
|
||||||
|
|
||||||
|
self.verify_files()
|
||||||
|
|
||||||
if self.netvm is not None:
|
if self.netvm is not None:
|
||||||
if self.netvm.qid != 0:
|
if self.netvm.qid != 0:
|
||||||
if not self.netvm.is_running():
|
if not self.netvm.is_running():
|
||||||
|
Loading…
Reference in New Issue
Block a user