diff --git a/virt-manager.changes b/virt-manager.changes index 6625965f..3c12c069 100644 --- a/virt-manager.changes +++ b/virt-manager.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jul 19 16:23:06 MDT 2016 - carnold@suse.com + +- bsc#989652 - Cannot create vms with virt-manager after upgrade + from SLES11SP4 to SLES12SP2 + virtman-show-suse-install-repos.patch + ------------------------------------------------------------------- Mon Jun 20 15:21:20 MDT 2016 - carnold@suse.com diff --git a/virtinst-nfs-install-sanitize.patch b/virtinst-nfs-install-sanitize.patch index a09b3b2a..0e1eb4c9 100644 --- a/virtinst-nfs-install-sanitize.patch +++ b/virtinst-nfs-install-sanitize.patch @@ -9,7 +9,7 @@ Index: virt-manager-1.4.0/virtinst/util.py =================================================================== --- virt-manager-1.4.0.orig/virtinst/util.py +++ virt-manager-1.4.0/virtinst/util.py -@@ -552,3 +552,22 @@ def getInstallRepos(enabled_sources_only +@@ -553,3 +553,22 @@ def getInstallRepos(enabled_sources_only return (index_dom0, zypper_output) diff --git a/virtman-show-suse-install-repos.patch b/virtman-show-suse-install-repos.patch index 49e781ec..898b8c68 100644 --- a/virtman-show-suse-install-repos.patch +++ b/virtman-show-suse-install-repos.patch @@ -38,7 +38,7 @@ Index: virt-manager-1.4.0/virtinst/util.py def listify(l): if l is None: -@@ -452,3 +455,100 @@ def make_meter(quiet): +@@ -452,3 +455,101 @@ def make_meter(quiet): if quiet: return progress.BaseMeter() return progress.TextMeter(fo=sys.stdout) @@ -116,9 +116,10 @@ Index: virt-manager-1.4.0/virtinst/util.py + zypper_header = [x.strip(' ') for x in zypper_list[0].split("|")] + uri_index = zypper_header.index("URI") + except: -+ if dom0_inst_source is None: -+ dom0_inst_source = [] -+ return (0, dom0_inst_source) ++ inst_source = [] ++ if dom0_inst_source: ++ inst_source = [dom0_inst_source] ++ return (0, inst_source) + + index_dom0 = -1 + number_of_sources = 0