提交 c35b0110 编写于 作者: P Peter Krempa

conf: ABI: Check WWN in disk abi stability check

Since the WWN influences guest behavior in naming disks we should treat
this as vm ABI.
上级 9e4d7b48
......@@ -15889,6 +15889,14 @@ virDomainDiskDefCheckABIStability(virDomainDiskDefPtr src,
return false;
}
if (STRNEQ_NULLABLE(src->wwn, dst->wwn)) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED,
_("Target disk wwn '%s' does not match source '%s'"),
NULLSTR(dst->wwn), NULLSTR(src->wwn));
return false;
}
if (src->src->readonly != dst->src->readonly ||
src->src->shared != dst->src->shared) {
virReportError(VIR_ERR_CONFIG_UNSUPPORTED, "%s",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册