Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2018-03-16 10:42:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Fri Mar 16 10:42:56 2018 rev:174 rq:587075 version:1.5.0 Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2018-03-06 10:47:51.819036352 +0100 +++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes 2018-03-16 10:44:22.726248654 +0100 @@ -1,0 +2,9 @@ +Wed Mar 7 15:19:38 MST 2018 - carn...@suse.com + +- bsc#1067018 - L3: KVM Guest creation failed - Property .cmt not + found + virtinst-dont-use-special-copy-cpu-features.patch +- Upstream bug fix (bsc#1027942) + 27d4b167-virtinst-update-location-for-opensuse.patch + +------------------------------------------------------------------- New: ---- 27d4b167-virtinst-update-location-for-opensuse.patch virtinst-dont-use-special-copy-cpu-features.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.leWfaK/_old 2018-03-16 10:44:25.158161085 +0100 +++ /var/tmp/diff_new_pack.leWfaK/_new 2018-03-16 10:44:25.162160941 +0100 @@ -39,6 +39,7 @@ Source3: virt-manager-supportconfig # Upstream Patches Patch0: 4c7c4590-manager-Fix-mem-disk-net-stats-graphs.patch +Patch1: 27d4b167-virtinst-update-location-for-opensuse.patch # SUSE Only Patch70: virtman-desktop.patch Patch71: virtman-kvm.patch @@ -82,6 +83,7 @@ Patch168: virtinst-add-sle15-detection-support.patch Patch169: virtinst-keep-install-iso-attached.patch Patch170: virtinst-osdict-get_supported.patch +Patch171: virtinst-dont-use-special-copy-cpu-features.patch # Python2 to Python3 patches Patch200: virtmisc-python2-to-python3-conversion.patch Patch201: virtcli-python2-to-python3-conversion.patch @@ -178,6 +180,7 @@ %setup -q # Upstream Patches %patch0 -p1 +%patch1 -p1 # SUSE Only %patch70 -p1 %patch71 -p1 @@ -221,6 +224,7 @@ %patch168 -p1 %patch169 -p1 %patch170 -p1 +%patch171 -p1 # Python2 to Python3 patches %patch200 -p1 %patch201 -p1 ++++++ 27d4b167-virtinst-update-location-for-opensuse.patch ++++++ Subject: Update --location for OpenSUSE From: Nicolas Bock nicolas.b...@suse.com Tue Mar 6 15:54:23 2018 -0700 Date: Wed Mar 7 09:27:38 2018 +0100: Git: 27d4b167d5572ade0246cf9340abae88ad5097eb OpenSUSE is currently at Leap 42.3. This change updates the man page for virt-install to point to the current repository. diff --git a/man/virt-install.pod b/man/virt-install.pod index 00f8d125..712386fc 100644 --- a/man/virt-install.pod +++ b/man/virt-install.pod @@ -429,7 +429,7 @@ http://us.archive.ubuntu.com/ubuntu/dists/wily/main/installer-amd64/ =item Suse -http://download.opensuse.org/distribution/11.0/repo/oss/ +http://download.opensuse.org/pub/opensuse/distribution/leap/42.3/repo/oss/ =item Mandriva ++++++ virtinst-dont-use-special-copy-cpu-features.patch ++++++ References: bsc#1067018 - L3: KVM Guest creation failed - Property .cmt not found Some hardware has the .cmt cpu feature but qemu doesn't support it. libvirt includes it in the cpu capabilities read in by virt-manager. Using 'host-model' was known to have issues in the past and so a copy method was set up to manually copy cpu features one at a time (including the unsupported cmt flag). This patch simply avoids the special copy feature when "Copy host CPU definition" is set in the Preferences -> New VM -> CPU Default pop-up menu and falls back to using 'host-model'. It should be noted that selecting "Customize configuration before install" and "CPUs" -> "Copy host CPU definition" also inserts 'host-model' so this change mirrors what is already done there. Index: virt-manager-1.5.0/virtinst/cpu.py =================================================================== --- virt-manager-1.5.0.orig/virtinst/cpu.py +++ virt-manager-1.5.0/virtinst/cpu.py @@ -98,12 +98,16 @@ class CPU(XMLBuilder): SPECIAL_MODE_HOST_PASSTHROUGH, SPECIAL_MODE_CLEAR] def set_special_mode(self, val): if (val == self.SPECIAL_MODE_HOST_MODEL or - val == self.SPECIAL_MODE_HOST_PASSTHROUGH): + val == self.SPECIAL_MODE_HOST_PASSTHROUGH or + val == self.SPECIAL_MODE_HOST_COPY): self.model = None self.vendor = None self.model_fallback = None for f in self.features: self.remove_feature(f) + if val == self.SPECIAL_MODE_HOST_COPY: + val = self.SPECIAL_MODE_HOST_MODEL + self.match = "exact" self.mode = val elif val == self.SPECIAL_MODE_HOST_COPY: self.copy_host_cpu()