virt-manager/virtman-cdrom.diff
Charles Arnold d389fe33bc - Update to virt-manager 0.9.5
* Enable adding virtio-scsi disks (Chen Hanxiao)
  * Support security auto-relabel setting (Martin Kletzander)
  * Support disk iotune settings (David Shane Holden)
  * Support 'reset' as a reboot option (John Doyle)
  * Bug fixes and minor improvements

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=115
2013-04-02 21:19:47 +00:00

14 lines
693 B
Diff

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"))