Index: virt-manager-1.0.0/virtManager/create.py =================================================================== --- virt-manager-1.0.0.orig/virtManager/create.py +++ virt-manager-1.0.0/virtManager/create.py @@ -419,8 +419,8 @@ class vmmCreate(vmmGObjectUI): method_tree.set_sensitive((is_local or can_remote_url) and installable_arch) - method_local.set_sensitive(not is_pv and can_storage and - installable_arch) + # Allow PV ISO/CDROM install for SLES + method_local.set_sensitive(can_storage and installable_arch) method_pxe.set_sensitive(not is_pv and installable_arch) method_import.set_sensitive(can_storage) virt_methods = [method_local, method_tree, method_pxe, method_import] @@ -637,6 +637,21 @@ class vmmCreate(vmmGObjectUI): self.capsdomain.hypervisor_type == domtype): default = len(model) + if gtype == "xen": + pv_cdrom = False + if self.guest and self.guest._lookup_osdict_key('pv_cdrom_install', False): + pv_cdrom = True + + instmethod = self.get_config_install_page() + if (instmethod == INSTALL_PAGE_PXE or + instmethod == INSTALL_PAGE_ISO and + pv_cdrom == False): + sensitive = False + tooltip = _("Only URL or import installs are supported " + "for paravirt.") + else: + default = 0 + model.append([label, gtype]) show = bool(guests)