Move device names from XenStorage to QubesVmStorage

This commit is contained in:
Bahtiar `kalkin-` Gadimov 2015-11-22 18:41:55 +01:00
parent 9b23576ff6
commit 85421e3f48
2 changed files with 4 additions and 5 deletions

View File

@ -57,6 +57,10 @@ class QubesVmStorage(object):
else:
self.root_img_size = defaults['root_img_size']
self.root_dev = "xvda"
self.private_dev = "xvdb"
self.volatile_dev = "xvdc"
self.modules_dev = "xvdd"
# For now compute this path still in QubesVm
self.modules_img = modules_img

View File

@ -49,11 +49,6 @@ class XenStorage(QubesVmStorage):
super(XenStorage, self).__init__(vm, **kwargs)
self.root_dev = "xvda"
self.private_dev = "xvdb"
self.volatile_dev = "xvdc"
self.modules_dev = "xvdd"
self.vmdir = vmdir
if self.vm.is_template():