4debc691ca
f30975c3-drop-cow-support.patch OBS-URL: https://build.opensuse.org/package/show/Virtualization/virt-manager?expand=0&rev=272
40 lines
1.4 KiB
Diff
40 lines
1.4 KiB
Diff
Reference: bsc#947288
|
|
Subject: storage: remove cow as supported format
|
|
From: Charles Arnold carnold@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 <stefanha@redhat.com>
|
|
Date: Tue Sep 16 15:24:24 2014 +0100
|
|
|
|
block: delete cow block driver
|
|
|
|
Signed-off-by: Charles Arnold <carnold@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
|
|
|
|
|