提交 38e1e068 编写于 作者: N Nikolay Shirokovskiy 提交者: Maxim Nestratov

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: NNikolay Shirokovskiy <nshirokovskiy@virtuozzo.com>
上级 f161e401
......@@ -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;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册