Hello community, here is the log from the commit of package virt-manager for openSUSE:Factory checked in at 2016-05-19 12:15:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/virt-manager (Old) and /work/SRC/openSUSE:Factory/.virt-manager.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "virt-manager" Changes: -------- --- /work/SRC/openSUSE:Factory/virt-manager/virt-manager.changes 2016-05-08 10:45:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes 2016-05-19 12:15:11.000000000 +0200 @@ -1,0 +2,13 @@ +Tue May 10 11:57:19 MDT 2016 - [email protected] + +- bsc#978173 - Cannot install sles-10-sp4 on sles-12-sp1 host + virtinst-use-xenpae-kernel-for-32bit.patch + +------------------------------------------------------------------- +Fri May 6 15:50:12 MDT 2016 - [email protected] + +- bsc#978937 - New qemu virtual virtio gpu not selectable in + virt-manager + 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch + +------------------------------------------------------------------- @@ -13,0 +27,7 @@ + +------------------------------------------------------------------- +Wed Mar 30 13:46:18 MDT 2016 - [email protected] + +- bsc#964407 - Virt-Manager: Installer wrongly detects SLE-12-GA + media as SLE-12-SP1 + virtinst-fix-sle12sp1-detection.patch New: ---- 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch virtinst-use-xenpae-kernel-for-32bit.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ virt-manager.spec ++++++ --- /var/tmp/diff_new_pack.KfGWUA/_old 2016-05-19 12:15:13.000000000 +0200 +++ /var/tmp/diff_new_pack.KfGWUA/_new 2016-05-19 12:15:13.000000000 +0200 @@ -42,6 +42,7 @@ Patch3: eae7dc06-fix-URL-installs-when-content-length-header-missing.patch Patch4: 1c221fd0-suse-ovmf-paths.patch Patch5: f11eb00b-virt-convert-decompress-gz-files-before-converting.patch +Patch6: 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch # SUSE Only Patch70: virtman-desktop.patch Patch71: virtman-kvm.patch @@ -79,6 +80,7 @@ Patch162: virtinst-refresh_before_fetch_pool.patch Patch163: virtinst-fix-sle12sp1-detection.patch Patch164: virtinst-fix-tumbleweed-detection.patch +Patch165: virtinst-use-xenpae-kernel-for-32bit.patch BuildArch: noarch BuildRoot: %{_tmppath}/%{name}-%{version}-build @@ -165,6 +167,7 @@ %patch3 -p1 %patch4 -p1 %patch5 -p1 +%patch6 -p1 # SUSE Only %patch70 -p1 %patch71 -p1 @@ -202,6 +205,7 @@ %patch162 -p1 %patch163 -p1 %patch164 -p1 +%patch165 -p1 %build %if %{qemu_user} ++++++ 8ba48f52-add-virtio-device-model-and-accel3d-attribute.patch ++++++ Subject: virtinst: add virtio device model and accel3d attribute From: Marc-André Lureau [email protected] Fri Mar 4 12:31:52 2016 +0100 Date: Wed Mar 9 20:25:37 2016 -0500: Git: 8ba48f5299409354fb610cd8620987e635c90643 Signed-off-by: Marc-André Lureau <[email protected]> Index: virt-manager-1.3.2/man/virt-install.pod =================================================================== --- virt-manager-1.3.2.orig/man/virt-install.pod +++ virt-manager-1.3.2/man/virt-install.pod @@ -1334,7 +1334,7 @@ Use --console=? to see a list of all ava Specify what video device model will be attached to the guest. Valid values for VIDEO are hypervisor specific, but some options for recent kvm are -cirrus, vga, qxl, or vmvga (vmware). +cirrus, vga, qxl, virtio, or vmvga (vmware). Use --video=? to see a list of all available sub options. Complete details at L<http://libvirt.org/formatdomain.html#elementsVideo> Index: virt-manager-1.3.2/tests/xmlparse-xml/change-videos-out.xml =================================================================== --- virt-manager-1.3.2.orig/tests/xmlparse-xml/change-videos-out.xml +++ virt-manager-1.3.2/tests/xmlparse-xml/change-videos-out.xml @@ -30,7 +30,9 @@ <model type="vmvga" heads="5"/> </video> <video> - <model type="qxl" vgamem="8192" ram="100"/> + <model type="qxl" vgamem="8192" ram="100"> + <acceleration accel3d="yes"/> + </model> </video> </devices> </domain> Index: virt-manager-1.3.2/tests/xmlparse.py =================================================================== --- virt-manager-1.3.2.orig/tests/xmlparse.py +++ virt-manager-1.3.2/tests/xmlparse.py @@ -673,6 +673,7 @@ class XMLParseTest(unittest.TestCase): check("model", "cirrus", "cirrus", "qxl") check("ram", None, 100) check("vgamem", None, 8192) + check("accel3d", None, True) self._alter_compare(guest.get_xml_config(), outfile) Index: virt-manager-1.3.2/virtinst/devicevideo.py =================================================================== --- virt-manager-1.3.2.orig/virtinst/devicevideo.py +++ virt-manager-1.3.2/virtinst/devicevideo.py @@ -27,7 +27,7 @@ class VirtualVideoDevice(VirtualDevice): # Default models list MODEL_DEFAULT = "default" - MODELS = ["cirrus", "vga", "vmvga", "xen", "qxl"] + MODELS = ["cirrus", "vga", "vmvga", "xen", "qxl", "virtio"] @staticmethod def pretty_model(model): @@ -43,6 +43,7 @@ class VirtualVideoDevice(VirtualDevice): ram = XMLProperty("./model/@ram", is_int=True) heads = XMLProperty("./model/@heads", is_int=True) vgamem = XMLProperty("./model/@vgamem", is_int=True) + accel3d = XMLProperty("./model/acceleration/@accel3d", is_yesno=True) VirtualVideoDevice.register_type() ++++++ virtinst-fix-sle12sp1-detection.patch ++++++ --- /var/tmp/diff_new_pack.KfGWUA/_old 2016-05-19 12:15:13.000000000 +0200 +++ /var/tmp/diff_new_pack.KfGWUA/_new 2016-05-19 12:15:13.000000000 +0200 @@ -2,15 +2,40 @@ =================================================================== --- virt-manager-1.3.2.orig/virtinst/urlfetcher.py +++ virt-manager-1.3.2/virtinst/urlfetcher.py -@@ -441,7 +441,10 @@ def _distroFromSUSEContent(fetcher, arch +@@ -402,6 +402,10 @@ def _distroFromSUSEContent(fetcher, arch + distro_distro = line.rsplit(',', 1) + elif line.startswith("VERSION "): + distro_version = line.split(' ', 1) ++ if len(distro_version) > 1: ++ d_version = distro_version[1].split('-', 1) ++ if len(d_version) > 1: ++ distro_version[1] = d_version[0] + elif line.startswith("SUMMARY "): + distro_summary = line.split(' ', 1) + elif line.startswith("BASEARCHS "): +@@ -435,17 +439,23 @@ def _distroFromSUSEContent(fetcher, arch + elif cbuf.find("ppc64le") != -1: + arch = "ppc64le" + ++ def parse_sle_distribution(d): ++ sle_version = d[1].strip().rsplit(' ')[4] ++ if len(d[1].strip().rsplit(' ')) > 5: ++ sle_version = sle_version + '.' + d[1].strip().rsplit(' ')[5][2] ++ return ['VERSION', sle_version] ++ + dclass = GenericDistro + if distribution: + if re.match(".*SUSE Linux Enterprise Server*", distribution[1]) or \ re.match(".*SUSE SLES*", distribution[1]): dclass = SLESDistro if distro_version is None: - distro_version = ['VERSION', distribution[1].strip().rsplit(' ')[4]] -+ sles_version = distribution[1].strip().rsplit(' ')[4] -+ if len(distribution[1].strip().rsplit(' ')) > 5: -+ sles_version = sles_version + '.' + distribution[1].strip().rsplit(' ')[5][2] -+ distro_version = ['VERSION', sles_version] ++ distro_version = parse_sle_distribution(distribution) elif re.match(".*SUSE Linux Enterprise Desktop*", distribution[1]): dclass = SLEDDistro if distro_version is None: +- distro_version = ['VERSION', distribution[1].strip().rsplit(' ')[4]] ++ distro_version = parse_sle_distribution(distribution) + elif re.match(".*Open Enterprise Server*", distribution[1]): + dclass = SLESDistro + if distro_version is None: ++++++ virtinst-fix-tumbleweed-detection.patch ++++++ --- /var/tmp/diff_new_pack.KfGWUA/_old 2016-05-19 12:15:13.000000000 +0200 +++ /var/tmp/diff_new_pack.KfGWUA/_new 2016-05-19 12:15:13.000000000 +0200 @@ -7,7 +7,7 @@ =================================================================== --- virt-manager-1.3.2.orig/virtinst/urlfetcher.py +++ virt-manager-1.3.2/virtinst/urlfetcher.py -@@ -457,9 +457,6 @@ def _distroFromSUSEContent(fetcher, arch +@@ -464,9 +464,6 @@ def _distroFromSUSEContent(fetcher, arch dclass = OpensuseDistro if distro_version is None: distro_version = ['VERSION', distribution[0].strip().rsplit(':')[4]] @@ -17,7 +17,7 @@ if distro_version is None: return None -@@ -1011,7 +1008,11 @@ class SuseDistro(Distro): +@@ -1018,7 +1015,11 @@ class SuseDistro(Distro): if sp_version: self.os_variant += sp_version else: ++++++ virtinst-use-xenpae-kernel-for-32bit.patch ++++++ References: bsc#978173 The 32bit versions of the media contain a xenpae version along with a non pae version. The sles10 sp4 32bit kernel will only boot para- virtualized if the pae kernel is selected. Note that sles12 and newer has no 32bit release. Index: virt-manager-1.3.2/virtinst/urlfetcher.py =================================================================== --- virt-manager-1.3.2.orig/virtinst/urlfetcher.py +++ virt-manager-1.3.2/virtinst/urlfetcher.py @@ -999,8 +999,12 @@ class SuseDistro(Distro): "boot/%s/initrd" % self.arch)) # Matches Opensuse > 10.2 and sles 10 - self._xen_kernel_paths = [("boot/%s/vmlinuz-xen" % self.arch, - "boot/%s/initrd-xen" % self.arch)] + if self.arch == "i386": + self._xen_kernel_paths = [("boot/%s/vmlinuz-xenpae" % self.arch, + "boot/%s/initrd-xenpae" % self.arch)] + else: + self._xen_kernel_paths = [("boot/%s/vmlinuz-xen" % self.arch, + "boot/%s/initrd-xen" % self.arch)] def _variantFromVersion(self): distro_version = self.version_from_content[1].strip()
