diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 94432814306e7493c64f705d19286186ea467a62..79d15c8ed22c188455e2768bd960b2d4f3c9ac16 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -24906,19 +24906,8 @@ virDomainDiskDefCheckDuplicateInfo(const virDomainDiskDef *a, return -1; } - if (a->wwn && b->wwn && STREQ(a->wwn, b->wwn)) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, - _("Disks '%s' and '%s' have identical WWN"), - a->dst, b->dst); - return -1; - } - - if (a->serial && b->serial && STREQ(a->serial, b->serial)) { - virReportError(VIR_ERR_CONFIG_UNSUPPORTED, - _("Disks '%s' and '%s' have identical serial"), - a->dst, b->dst); - return -1; - } + /* Duplicate WWN/serial isn't usually problematic for the OS and + * forbiding it would possibly inhibit using multipath configurations */ return 0; }