virt-manager/virtman-cdrom.patch

14 lines
693 B
Diff
Raw Normal View History

Index: virt-manager-0.9.5/src/virtManager/addhardware.py
===================================================================
--- virt-manager-0.9.5.orig/src/virtManager/addhardware.py
+++ virt-manager-0.9.5/src/virtManager/addhardware.py
@@ -551,6 +551,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"))