mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
vz: remove check for auto file format for disks
VIR_STORAGE_FILE_AUTO can not be set from xml description. At the same time we don't set disks format to this value as for example qemu does. Thus this we can never get this value in format. Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
This commit is contained in:
parent
f161e40152
commit
38e1e06845
@ -414,8 +414,7 @@ vzCheckUnsupportedDisks(virDomainDefPtr def, vzCapabilitiesPtr vzCaps)
|
||||
} else {
|
||||
if (disk->device == VIR_DOMAIN_DISK_DEVICE_DISK) {
|
||||
supported = diskFormat == VIR_STORAGE_FILE_RAW ||
|
||||
diskFormat == VIR_STORAGE_FILE_NONE ||
|
||||
diskFormat == VIR_STORAGE_FILE_AUTO;
|
||||
diskFormat == VIR_STORAGE_FILE_NONE;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user