13 lines
803 B
Diff
13 lines
803 B
Diff
|
diff -Nuar virt-manager-0.7.0.orig//src/virtManager/addhardware.py virt-manager-0.7.0//src/virtManager/addhardware.py
|
||
|
--- virt-manager-0.7.0.orig//src/virtManager/addhardware.py 2009-03-09 21:38:37.000000000 -0600
|
||
|
+++ virt-manager-0.7.0//src/virtManager/addhardware.py 2009-04-21 10:07:18.000000000 -0600
|
||
|
@@ -1021,6 +1021,8 @@
|
||
|
model.append(["virtio", virtinst.VirtualDisk.DEVICE_DISK,
|
||
|
gtk.STOCK_HARDDISK, "Virtio Disk"])
|
||
|
if self.vm.get_connection().get_type().lower() == "xen":
|
||
|
+ model.append(["xen", virtinst.VirtualDisk.DEVICE_CDROM,
|
||
|
+ gtk.STOCK_CDROM, "Virtual disk (read only)"])
|
||
|
model.append(["xen", virtinst.VirtualDisk.DEVICE_DISK,
|
||
|
gtk.STOCK_HARDDISK, "Virtual disk"])
|
||
|
|