QubesVM.dir_path is set independent of storage

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2016-03-28 00:01:00 +02:00
parent c3d8c899cc
commit 428dd5bc1b

View File

@ -209,7 +209,7 @@ class QubesVM(qubes.vm.mix.net.NetVMMixin, qubes.vm.BaseVM):
default='default',
doc='storage pool for this qube devices')
dir_path = property((lambda self: self.storage.vmdir),
dir_path = property( (lambda self: os.path.join(qubes.config.system_path['qubes_base_dir'], self.dir_path_prefix, self.name)),
doc='Root directory for files related to this domain')
# XXX swallowed uses_default_kernel