virt-manager/virtman-cdrom.patch
Charles Arnold 0b5fb01003 - Renamed all patches from '.diff' to '.patch'.
- bnc#822531 - Virt-manager will reset the domu's 'Autostart'
  option to unselected status as soon as changing the domu's any
  virtual hardware through virt-manager (Xen only)
  virtman-autorestart.diff

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=116
2013-05-31 21:10:54 +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"))