diff options
author | Cole Robinson <crobinso@redhat.com> | 2018-09-05 20:13:56 -0400 |
---|---|---|
committer | Cole Robinson <crobinso@redhat.com> | 2018-09-06 13:28:21 -0400 |
commit | c5033c02d5092fd581d50cefc2c29f939253fd4e (patch) | |
tree | 4db8dd53c0f2a927b59720063b8aa8ce6191a99e /virtinst/storage.py | |
parent | f13d10590dc1e34514a54af53aa1b69e91049bd7 (diff) | |
download | virt-manager-c5033c02d5092fd581d50cefc2c29f939253fd4e.tar.gz |
fsdetails: Use combo entry for format list
And stop listing all the crazy qemu formats
Diffstat (limited to 'virtinst/storage.py')
-rw-r--r-- | virtinst/storage.py | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/virtinst/storage.py b/virtinst/storage.py index 5a57ea0b..12ec8f78 100644 --- a/virtinst/storage.py +++ b/virtinst/storage.py @@ -529,9 +529,6 @@ class StorageVolume(_StorageObject): """ Base class for building and installing libvirt storage volume xml """ - ALL_FORMATS = ["raw", "bochs", "cloop", "dmg", "iso", "qcow", - "qcow2", "qed", "vmdk", "vpc", "fat", "vhd", "vdi"] - @staticmethod def get_file_extension_for_format(fmt): if not fmt: @@ -705,16 +702,6 @@ class StorageVolume(_StorageObject): return self._supports_format() return hasattr(self, propname) - def list_formats(self): - if self._supports_format(): - return self.ALL_FORMATS - return [] - - def list_create_formats(self): - if self._supports_format(): - return ["raw", "qcow", "qcow2", "qed", "vmdk", "vpc", "vdi"] - return None - ################## # Build routines # |