virt-manager/virtman-cdrom.patch

14 lines
684 B
Diff
Raw Normal View History

Index: virt-manager-0.10.0/virtManager/addhardware.py
===================================================================
--- virt-manager-0.10.0.orig/virtManager/addhardware.py
+++ virt-manager-0.10.0/virtManager/addhardware.py
@@ -546,6 +546,8 @@ class vmmAddHardware(vmmGObjectUI):
add_dev("virtio-scsi", virtinst.VirtualDisk.DEVICE_LUN,
_("Virtio SCSI lun"))
if self.conn.is_xen() or self.conn.is_test_conn():
+ add_dev("xen", virtinst.VirtualDisk.DEVICE_CDROM,
+ _("Xen Virtual disk (read only)"))
add_dev("xen", virtinst.VirtualDisk.DEVICE_DISK,
_("Xen virtual disk"))