core: fix creation of private.img at VM startup

This code is used when VM is migrated from older system, where HVM
didn't have private.img.
This commit is contained in:
Marek Marczykowski-Górecki 2015-07-01 04:41:09 +02:00
parent 402d1b9a3d
commit d9c2990747

View File

@ -198,4 +198,4 @@ class QubesVmStorage(object):
if self.private_img and not os.path.exists (self.private_img):
print >>sys.stderr, "WARNING: Creating empty VM private image file: {0}".\
format(self.private_img)
self.storage.create_on_disk_private_img(verbose=False)
self.create_on_disk_private_img(verbose=False)