virt-manager/virtman-cdrom.diff
Charles Arnold 6f98a7f2bd - Update to virt-manager 0.8.7
* Allow renaming an offline VM
  * Spice password support (Marc-André Lureau)
  * Allow editting NIC <virtualport> settings (Gerhard Stenzel)
  * Allow enabling/disabling individual CPU features
  * Allow easily changing graphics type between VNC and SPICE for existing VM
  * Allow easily changing network source device for existing VM
- Update to virtinst 0.500.6
  * virt-install: --graphics spice now enables spicevmc and qxl
  * virt-install: New --disk parameter io=native|threads

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=51
2011-04-04 19:49:34 +00:00

13 lines
680 B
Diff

Index: virt-manager-0.8.7/src/virtManager/addhardware.py
===================================================================
--- virt-manager-0.8.7.orig/src/virtManager/addhardware.py
+++ virt-manager-0.8.7/src/virtManager/addhardware.py
@@ -480,6 +480,7 @@ class vmmAddHardware(vmmGObjectUI):
if self.vm.get_hv_type() == "kvm":
add_dev("virtio", virtinst.VirtualDisk.DEVICE_DISK, "Virtio Disk")
if self.vm.get_connection().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):