Hello community,

here is the log from the commit of package virt-manager for openSUSE:Factory 
checked in at 2015-10-08 08:25:30
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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        
2015-09-30 05:51:41.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.virt-manager.new/virt-manager.changes   
2015-10-08 08:25:32.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Sep 25 15:24:23 MDT 2015 - carn...@suse.com
+
+- bsc#947288 - qemu-img doesn't support anymore creating cow format
+  image
+  f30975c3-drop-cow-support.patch
+
+-------------------------------------------------------------------

New:
----
  f30975c3-drop-cow-support.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ virt-manager.spec ++++++
--- /var/tmp/diff_new_pack.4xwzwF/_old  2015-10-08 08:25:34.000000000 +0200
+++ /var/tmp/diff_new_pack.4xwzwF/_new  2015-10-08 08:25:34.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package virt-manager
 #
-# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -51,6 +51,7 @@
 Patch12:        360fe110-add-s390x-arch-support.patch
 Patch13:        
590f5a52-urlfetcher-Clear-cached-ftp-connection-on-cleanupLoc.patch
 Patch14:        601a82cb-fix-console_type-if-xen.patch
+Patch15:        f30975c3-drop-cow-support.patch
 # SUSE Only
 Patch70:        virtman-desktop.patch
 Patch71:        virtman-kvm.patch
@@ -186,6 +187,7 @@
 %patch12 -p1
 %patch13 -p1
 %patch14 -p1
+%patch15 -p1
 # SUSE Only
 %patch70 -p1
 %patch71 -p1

++++++ f30975c3-drop-cow-support.patch ++++++
Reference: bsc#947288
Subject: storage: remove cow as supported format
From: Charles Arnold carn...@suse.com Tue Sep 29 11:25:34 2015 -0600
Date: Tue Sep 29 16:33:16 2015 -0400:
Git: f30975c3f8e2c009d778f143633c37c5656207f5

Support for this format was removed about a year ago from
qemu with this commit,

commit 550830f9351291c585c963204ad9127998b1c1ce
Author: Stefan Hajnoczi <stefa...@redhat.com>
Date:   Tue Sep 16 15:24:24 2014 +0100

    block: delete cow block driver

Signed-off-by: Charles Arnold <carn...@suse.com>

Index: virt-manager-1.2.1/virtinst/storage.py
===================================================================
--- virt-manager-1.2.1.orig/virtinst/storage.py
+++ virt-manager-1.2.1/virtinst/storage.py
@@ -542,7 +542,7 @@ class StorageVolume(_StorageObject):
     """
     Base class for building and installing libvirt storage volume xml
     """
-    ALL_FORMATS = ["raw", "bochs", "cloop", "cow", "dmg", "iso", "qcow",
+    ALL_FORMATS = ["raw", "bochs", "cloop", "dmg", "iso", "qcow",
                    "qcow2", "qed", "vmdk", "vpc", "fat", "vhd", "vdi"]
 
     @staticmethod
@@ -743,7 +743,7 @@ class StorageVolume(_StorageObject):
 
     def list_create_formats(self):
         if self._supports_format():
-            return ["raw", "cow", "qcow", "qcow2", "qed", "vmdk", "vpc", "vdi"]
+            return ["raw", "qcow", "qcow2", "qed", "vmdk", "vpc", "vdi"]
         return None
 
 
++++++ virtman-show-suse-install-repos.patch ++++++
--- /var/tmp/diff_new_pack.4xwzwF/_old  2015-10-08 08:25:34.000000000 +0200
+++ /var/tmp/diff_new_pack.4xwzwF/_new  2015-10-08 08:25:34.000000000 +0200
@@ -1,7 +1,7 @@
 Enhancement that gets the hosts installation location from
 install.inf and also collects the repos provided by zypper.
 These locations are then presented as potential installation
-locations when createing a VM.
+locations when creating a VM.
 Index: virt-manager-1.2.1/virtManager/create.py
 ===================================================================
 --- virt-manager-1.2.1.orig/virtManager/create.py
@@ -40,7 +40,7 @@
  
  
  def listify(l):
-@@ -462,3 +465,96 @@ def register_libvirt_error_handler():
+@@ -462,3 +465,97 @@ def register_libvirt_error_handler():
          ignore = userdata
          ignore = err
      libvirt.registerErrorHandler(f=libvirt_callback, ctx=None)
@@ -62,8 +62,9 @@
 +            if line.startswith('RepoURL:'):
 +                repo_url = line[:-1].split('?', 1)[0]
 +                repo_url = repo_url.split(' ')
-+                if repo_url[1]:
-+                    if repo_url[1].startswith('ftp:') or 
repo_url[1].startswith('http:') or repo_url[1].startswith('smb:') or 
repo_url[1].startswith('nfs:'):
++                if len(repo_url) > 1:
++                    if repo_url[1].startswith('ftp:') or 
repo_url[1].startswith('http:') or \
++                       repo_url[1].startswith('smb:') or 
repo_url[1].startswith('nfs:'):
 +                        _host_repo_url = repo_url[1]
 +                        return repo_url[1]
 +                return None


Reply via email to