2013-11-26 22:23:05 +01:00
|
|
|
Index: virt-manager-0.10.0/virtManager/create.py
|
2013-07-03 23:44:06 +02:00
|
|
|
===================================================================
|
2013-11-26 22:23:05 +01:00
|
|
|
--- virt-manager-0.10.0.orig/virtManager/create.py
|
|
|
|
+++ virt-manager-0.10.0/virtManager/create.py
|
|
|
|
@@ -666,11 +666,18 @@ class vmmCreate(vmmGObjectUI):
|
2013-07-03 23:44:06 +02:00
|
|
|
default = len(model)
|
|
|
|
|
|
|
|
if gtype == "xen":
|
|
|
|
+ pv_cdrom = False
|
|
|
|
+ if self.guest and self.guest._lookup_osdict_key('pv_cdrom_install'):
|
|
|
|
+ pv_cdrom = True
|
|
|
|
+
|
|
|
|
if (instmethod == INSTALL_PAGE_PXE or
|
|
|
|
- instmethod == INSTALL_PAGE_ISO):
|
|
|
|
+ instmethod == INSTALL_PAGE_ISO and
|
|
|
|
+ pv_cdrom == False):
|
|
|
|
sensitive = False
|
|
|
|
tooltip = _("Only URL or import installs are supported "
|
|
|
|
"for paravirt.")
|
2013-07-23 01:35:08 +02:00
|
|
|
+ else:
|
|
|
|
+ default = 0
|
2013-07-03 23:44:06 +02:00
|
|
|
|
2013-07-23 01:35:08 +02:00
|
|
|
model.append([label, gtype, domtype, sensitive])
|
2013-07-03 23:44:06 +02:00
|
|
|
|