virt-manager/virtman-cdrom.diff
Charles Arnold 12870dd68e - Update to virt-manager 0.9.3
* Convert to gtkbuilder: UI can now be editted with modern glade tool
  * virt-manager no longer runs on RHEL5, but can manage a remote RHEL5 host
  * Option to configure spapr net and disk devices for pseries (Li Zhang)
  * Many bug fixes and improvements

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=100
2012-07-13 20:11:20 +00:00

13 lines
697 B
Diff

Index: virt-manager-0.9.3/src/virtManager/addhardware.py
===================================================================
--- virt-manager-0.9.3.orig/src/virtManager/addhardware.py
+++ virt-manager-0.9.3/src/virtManager/addhardware.py
@@ -540,6 +540,7 @@ class vmmAddHardware(vmmGObjectUI):
add_dev("sata", virtinst.VirtualDisk.DEVICE_DISK, "SATA disk")
add_dev("virtio", virtinst.VirtualDisk.DEVICE_DISK, "Virtio disk")
if self.conn.is_xen():
+ add_dev("xen", virtinst.VirtualDisk.DEVICE_CDROM, "Virtual disk (read only)")
add_dev("xen", virtinst.VirtualDisk.DEVICE_DISK, "Virtual disk")
def populate_input_model(self, model):