storage: remove cow as supported format

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>
This commit is contained in:
Charles Arnold 2015-09-29 11:25:34 -06:00 committed by Cole Robinson
parent b45a0ce286
commit f30975c3f8

View File

@ -540,7 +540,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
@ -741,7 +741,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