dom0/hvm: detect missing private.img

This commit is contained in:
Marek Marczykowski 2012-03-11 00:30:49 +01:00
parent 1227741e28
commit cd8c64b345

View File

@ -2238,6 +2238,11 @@ class QubesHVm(QubesVm):
"VM root image file doesn't exist: {0}".\
format(self.root_img))
if not os.path.exists (self.private_img):
raise QubesException (
"VM private image file doesn't exist: {0}".\
format(self.private_img))
return True
def reset_volatile_storage(self, **kwargs):