diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index f3828c362a..8a39721acd 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -4857,6 +4857,9 @@ virDomainChrDefParseTargetXML(virCapsPtr caps, if ((def->targetType = virDomainChrTargetTypeFromString(caps, vmdef, def->deviceType, targetType)) < 0) { + virDomainReportError(VIR_ERR_XML_ERROR, + _("unknown target type '%s' specified for character device"), + targetType); goto error; }