Merge branch 'hvm' of 10.141.1.101:/var/lib/qubes/git/marmarek/core into hvm

This commit is contained in:
Joanna Rutkowska 2012-03-01 12:45:21 +01:00
commit cfa12183f2
2 changed files with 3 additions and 2 deletions

View File

@ -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,hdc:cdrom,r'," % self.drive
params['otherdevs'] = "'phy:%s,xvdc:cdrom,r'," % self.drive
else:
params['otherdevs'] = "'script:file:%s,hdc:cdrom,r'," % self.drive
params['otherdevs'] = "'script:file:%s,xvdc:cdrom,r'," % self.drive
else:
params['otherdevs'] = ''
return params

View File

@ -40,6 +40,7 @@ BuildRequires: xen-devel
Requires: python, xen-runtime, pciutils, python-inotify, python-daemon, kernel-qubes-dom0
Conflicts: qubes-gui-dom0 < 1.1.13
Requires: xen >= 4.1.0-2
Requires: xen-hvm
Requires: createrepo
Requires: gnome-packagekit
Requires: cronie