[PATCH 1/3] bhyve: tests: fix build

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

 



Commit b20d39a introduced a new argument for the
virNetDevTapCreateInBridgePort function, however, its mock
in bhyve tests wasn't updated, so the build failed.

Fix build by adding this new argument to the mock version.
---
 tests/bhyvexml2argvmock.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/bhyvexml2argvmock.c b/tests/bhyvexml2argvmock.c
index fa2f14b..0cbea29 100644
--- a/tests/bhyvexml2argvmock.c
+++ b/tests/bhyvexml2argvmock.c
@@ -22,6 +22,7 @@ int virNetDevTapCreateInBridgePort(const char *brname ATTRIBUTE_UNUSED,
                                    char **ifname,
                                    const virMacAddr *macaddr ATTRIBUTE_UNUSED,
                                    const unsigned char *vmuuid ATTRIBUTE_UNUSED,
+                                   const char *tunpath ATTRIBUTE_UNUSED,
                                    int *tapfd ATTRIBUTE_UNUSED,
                                    int tapfdSize ATTRIBUTE_UNUSED,
                                    virNetDevVPortProfilePtr virtPortProfile ATTRIBUTE_UNUSED,
-- 
2.1.0

--
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]