diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index b98b1ca4289f272caba4ce9ee280d779402a9e30..04a6ee77af6f487d2b4e1377305f89d25b874140 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -5573,7 +5573,7 @@ virDomainDeviceDefValidateAliasesIterator(virDomainDefPtr def, struct virDomainDefValidateAliasesData *data = opaque; const char *alias = info->alias; - if (!alias) + if (!alias || !virDomainDeviceAliasIsUserAlias(alias)) return 0; /* Some crazy backcompat for consoles. */