dom0/core: xvdi is to high for qemu

Cette révision appartient à :
Marek Marczykowski 2012-03-01 11:23:07 +01:00
Parent 45c1c01410
révision dcf6957e85

Voir le fichier

@ -2090,9 +2090,9 @@ class QubesHVm(QubesVm):
if self.drive:
stat_res = os.stat(self.drive)
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:
params['otherdevs'] = "'script:file:%s,xvdi:cdrom,r'," % self.drive
params['otherdevs'] = "'script:file:%s,xvdc:cdrom,r'," % self.drive
else:
params['otherdevs'] = ''
return params