mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
storage: Add VDI to format list
This commit is contained in:
parent
419b2d0ca6
commit
166414dd57
@ -657,12 +657,12 @@ class StorageVolume(_StorageObject):
|
|||||||
def list_formats(self):
|
def list_formats(self):
|
||||||
if self.file_type == self.TYPE_FILE:
|
if self.file_type == self.TYPE_FILE:
|
||||||
return ["raw", "bochs", "cloop", "cow", "dmg", "iso", "qcow",
|
return ["raw", "bochs", "cloop", "cow", "dmg", "iso", "qcow",
|
||||||
"qcow2", "qed", "vmdk", "vpc"]
|
"qcow2", "qed", "vmdk", "vpc", "vdi"]
|
||||||
return []
|
return []
|
||||||
|
|
||||||
def list_create_formats(self):
|
def list_create_formats(self):
|
||||||
if self.file_type == self.TYPE_FILE:
|
if self.file_type == self.TYPE_FILE:
|
||||||
return ["raw", "cow", "qcow", "qcow2", "qed", "vmdk", "vpc"]
|
return ["raw", "cow", "qcow", "qcow2", "qed", "vmdk", "vpc", "vdi"]
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user