- bsc#947288 - qemu-img doesn't support anymore creating cow format

image
  virtinst-drop-cow-support.patch

OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=271
This commit is contained in:
Charles Arnold 2015-09-25 21:43:05 +00:00 committed by Git OBS Bridge
parent bbb1fd73ef
commit 819ee76a47
3 changed files with 32 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Sep 25 15:24:23 MDT 2015 - carnold@suse.com
- bsc#947288 - qemu-img doesn't support anymore creating cow format
image
virtinst-drop-cow-support.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Sep 23 10:25:33 MDT 2015 - carnold@suse.com Wed Sep 23 10:25:33 MDT 2015 - carnold@suse.com

View File

@ -1,7 +1,7 @@
# #
# spec file for package virt-manager # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -90,6 +90,7 @@ Patch160: virtinst-xen-drive-type.patch
Patch161: virtinst-xenbus-disk-index-fix.patch Patch161: virtinst-xenbus-disk-index-fix.patch
Patch162: virtinst-refresh_before_fetch_pool.patch Patch162: virtinst-refresh_before_fetch_pool.patch
Patch163: virtinst-replace-unar-with-other-archivers.patch Patch163: virtinst-replace-unar-with-other-archivers.patch
Patch164: virtinst-drop-cow-support.patch
BuildArch: noarch BuildArch: noarch
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -225,6 +226,7 @@ machine).
%patch161 -p1 %patch161 -p1
%patch162 -p1 %patch162 -p1
%patch163 -p1 %patch163 -p1
%patch164 -p1
%build %build
%if %{qemu_user} %if %{qemu_user}

View File

@ -0,0 +1,22 @@
Reference: bsc#947288
Qemu no longer supports cow
--- virt-manager-1.2.1/virtinst/storage.py.orig 2015-09-25 15:20:31.450493388 -0600
+++ virt-manager-1.2.1/virtinst/storage.py 2015-09-25 15:21:26.413011491 -0600
@@ -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
@@ -748,7 +748,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