Move device names from XenStorage to QubesVmStorage
This commit is contained in:
parent
9b23576ff6
commit
85421e3f48
@ -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
|
||||
|
@ -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():
|
||||
|
Loading…
Reference in New Issue
Block a user