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

Roman Bogorodskiy bogorodskiy at gmail.com
Thu Sep 18 06:47:24 UTC 2014


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




More information about the libvir-list mailing list