[PATCH] bhyve: Need to add parameter to virDomainChrDefNew

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit id '5f2a13278' missed this one.

Signed-off-by: John Ferlan <jferlan@xxxxxxxxxx>
---

 Pushed as build breaker
 https://ci.centos.org/view/libvirt-project/job/libvirt-master-build/150/systems=libvirt-freebsd/

 src/bhyve/bhyve_parse_command.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bhyve/bhyve_parse_command.c b/src/bhyve/bhyve_parse_command.c
index fd9384d..1a7de3d 100644
--- a/src/bhyve/bhyve_parse_command.c
+++ b/src/bhyve/bhyve_parse_command.c
@@ -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;
-- 
2.7.4

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]