Do not call postParse with ABI_UPDATE when parsing cmdline

So far this is only useful for recalculating NUMA memory size,
which this function cannot parse.

This will let us generate USB addresses based on this flag.
This commit is contained in:
Ján Tomko 2016-06-16 18:25:33 +02:00
parent f17a49564a
commit 8b3f0b767e

View File

@ -2626,8 +2626,7 @@ qemuParseCommandLine(virCapsPtr caps,
VIR_FREE(nics);
if (virDomainDefPostParse(def, caps, VIR_DOMAIN_DEF_PARSE_ABI_UPDATE,
xmlopt) < 0)
if (virDomainDefPostParse(def, caps, 0, xmlopt) < 0)
goto error;
if (cmd->num_args || cmd->num_env) {