2009-08-01 11:46:10 +02:00
|
|
|
Index: virt-manager-0.8.0/src/virtManager/addhardware.py
|
|
|
|
===================================================================
|
|
|
|
--- virt-manager-0.8.0.orig/src/virtManager/addhardware.py
|
|
|
|
+++ virt-manager-0.8.0/src/virtManager/addhardware.py
|
2009-09-27 00:17:50 +02:00
|
|
|
@@ -1298,6 +1298,7 @@ class vmmAddHardware(gobject.GObject):
|
2009-08-01 11:46:10 +02:00
|
|
|
if self.vm.get_hv_type().lower() == "kvm":
|
|
|
|
add_dev("virtio", virtinst.VirtualDisk.DEVICE_DISK, "Virtio Disk")
|
2009-05-04 18:36:17 +02:00
|
|
|
if self.vm.get_connection().get_type().lower() == "xen":
|
2009-08-01 11:46:10 +02:00
|
|
|
+ add_dev("xen", virtinst.VirtualDisk.DEVICE_CDROM, "Virtual disk (read only)")
|
|
|
|
add_dev("xen", virtinst.VirtualDisk.DEVICE_DISK, "Virtual disk")
|
2009-05-04 18:36:17 +02:00
|
|
|
|
2009-08-01 11:46:10 +02:00
|
|
|
def populate_input_model(self, model):
|