提交 8b3f0b76 编写于 作者: J Ján Tomko

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.
上级 f17a4956
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册