virt-manager/virtman-cdrom.diff
Charles Arnold d9d300204b - Update to virt-manager 0.9.1
* Support for adding usb redirection devices (Marc-André Lureau)
  * Option to switch usb controller to support usb2.0 (Marc-André Lureau)
  * Option to specify machine type for non-x86 guests (Li Zhang)
  * Support for filesystem device type and write policy (Deepak C Shetty)
  * Many bug fixes!
- Update to virtinst 0.600.1
  * virt-install: --redir option for usb redirection (Marc-André Lureau)
  * virt-install: Advanced --controller support for usb2 (Marc-André Lureau)
  * Many bug fixes and minor improvments.

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=86
2012-02-03 15:47:45 +00:00

13 lines
697 B
Diff

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