2011-04-04 21:49:34 +02:00
|
|
|
Index: virt-manager-0.8.7/src/virtManager/addhardware.py
|
2009-08-01 11:46:10 +02:00
|
|
|
===================================================================
|
2011-04-04 21:49:34 +02:00
|
|
|
--- virt-manager-0.8.7.orig/src/virtManager/addhardware.py
|
|
|
|
+++ virt-manager-0.8.7/src/virtManager/addhardware.py
|
2011-03-21 20:38:43 +01:00
|
|
|
@@ -480,6 +480,7 @@ class vmmAddHardware(vmmGObjectUI):
|
2010-02-16 17:11:41 +01:00
|
|
|
if self.vm.get_hv_type() == "kvm":
|
2009-08-01 11:46:10 +02:00
|
|
|
add_dev("virtio", virtinst.VirtualDisk.DEVICE_DISK, "Virtio Disk")
|
2010-02-16 17:11:41 +01:00
|
|
|
if self.vm.get_connection().is_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):
|