diff --git a/dom0/qvm-core/qubes.py b/dom0/qvm-core/qubes.py index 8cfca7bb..2e7dde93 100755 --- a/dom0/qvm-core/qubes.py +++ b/dom0/qvm-core/qubes.py @@ -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 diff --git a/rpm_spec/core-dom0.spec b/rpm_spec/core-dom0.spec index 19bd8ea9..f9043586 100644 --- a/rpm_spec/core-dom0.spec +++ b/rpm_spec/core-dom0.spec @@ -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