dom0/core: verify files before starting VM

This commit is contained in:
Marek Marczykowski 2012-03-11 00:32:46 +01:00
parent dd89fab841
commit cc8975d9f2

View File

@ -1317,6 +1317,8 @@ class QubesVm(object):
if self.get_power_state() != "Halted":
raise QubesException ("VM is already running!")
self.verify_files()
if self.netvm is not None:
if self.netvm.qid != 0:
if not self.netvm.is_running():