dom0/core: xvdi is to high for qemu
This commit is contained in:
parent
45c1c01410
commit
dcf6957e85
@ -2090,9 +2090,9 @@ class QubesHVm(QubesVm):
|
|||||||
if self.drive:
|
if self.drive:
|
||||||
stat_res = os.stat(self.drive)
|
stat_res = os.stat(self.drive)
|
||||||
if stat.S_ISBLK(stat_res.st_mode):
|
if stat.S_ISBLK(stat_res.st_mode):
|
||||||
params['otherdevs'] = "'phy:%s,xvdi:cdrom,r'," % self.drive
|
params['otherdevs'] = "'phy:%s,xvdc:cdrom,r'," % self.drive
|
||||||
else:
|
else:
|
||||||
params['otherdevs'] = "'script:file:%s,xvdi:cdrom,r'," % self.drive
|
params['otherdevs'] = "'script:file:%s,xvdc:cdrom,r'," % self.drive
|
||||||
else:
|
else:
|
||||||
params['otherdevs'] = ''
|
params['otherdevs'] = ''
|
||||||
return params
|
return params
|
||||||
|
Loading…
Reference in New Issue
Block a user