From: Ján Tomko Date: Thu, 23 May 2019 12:18:24 +0000 (+0200) Subject: virDomainDefPostParse: use DOMAIN_DEVICE_ITERATE_MISSING_INFO X-Git-Tag: v5.4.0-rc1~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7389b084884e682700dd9e5f05eaace6d1ba27b6;p=thirdparty%2Flibvirt.git virDomainDefPostParse: use DOMAIN_DEVICE_ITERATE_MISSING_INFO Apart from virDomainDefValidate, virDomainDefPostParse is another place where operating on info-less devices makes sense. Signed-off-by: Ján Tomko --- diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c index 926c2139b7..006920e954 100644 --- a/src/conf/domain_conf.c +++ b/src/conf/domain_conf.c @@ -5803,7 +5803,8 @@ virDomainDefPostParse(virDomainDefPtr def, /* iterate the devices */ ret = virDomainDeviceInfoIterateInternal(def, virDomainDefPostParseDeviceIterator, - DOMAIN_DEVICE_ITERATE_ALL_CONSOLES, + DOMAIN_DEVICE_ITERATE_ALL_CONSOLES | + DOMAIN_DEVICE_ITERATE_MISSING_INFO, &data); if (virDomainDefPostParseCheckFailure(def, parseFlags, ret) < 0)