mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-05-29 13:52:02 +00:00
drive: remove ancient 'cow' from formats
The format was dropped in QEMU binary version 2.2 with commit 550830f935 ("block: delete cow block driver"). Very old backups might still include this format as a hint (the data in the backup is present in raw/chunk format in any case), but that is not an issue. Restore already checks that the target storage supports a given format and defaults to the default format of the storage if the hint does not apply. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com> Acked-by: Fabian Grünbichler <f.gruenbichler@proxmox.com> Reviewed-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
parent
c86b598198
commit
b2aa996f43
@ -26,11 +26,11 @@ parse_drive
|
|||||||
print_drive
|
print_drive
|
||||||
);
|
);
|
||||||
|
|
||||||
our $QEMU_FORMAT_RE = qr/raw|cow|qcow|qcow2|qed|vmdk|cloop/;
|
our $QEMU_FORMAT_RE = qr/raw|qcow|qcow2|qed|vmdk|cloop/;
|
||||||
|
|
||||||
PVE::JSONSchema::register_standard_option('pve-qm-image-format', {
|
PVE::JSONSchema::register_standard_option('pve-qm-image-format', {
|
||||||
type => 'string',
|
type => 'string',
|
||||||
enum => [qw(raw cow qcow qed qcow2 vmdk cloop)],
|
enum => [qw(raw qcow qed qcow2 vmdk cloop)],
|
||||||
description => "The drive's backing file's data format.",
|
description => "The drive's backing file's data format.",
|
||||||
optional => 1,
|
optional => 1,
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user