提交 9c2e539a 编写于 作者: J John Ferlan

bhyve: Need to add parameter to virDomainChrDefNew

Commit id '5f2a1327' missed this one.
Signed-off-by: NJohn Ferlan <jferlan@redhat.com>
上级 97b31f86
......@@ -287,7 +287,7 @@ bhyveParseBhyveLPCArg(virDomainDefPtr def,
/* Only support com%d */
if (STRPREFIX(type, "com") && type[4] == 0) {
if (!(chr = virDomainChrDefNew()))
if (!(chr = virDomainChrDefNew(NULL)))
goto error;
chr->source.type = VIR_DOMAIN_CHR_TYPE_NMDM;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册