mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 23:37:42 +00:00
bhyve: Need to add parameter to virDomainChrDefNew
Commit id '5f2a13278' missed this one. Signed-off-by: John Ferlan <jferlan@redhat.com>
This commit is contained in:
parent
97b31f8672
commit
9c2e539acd
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user