]> xenbits.xensource.com Git - libvirt.git/commitdiff
bhyve: tests: fix build
authorRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 18 Sep 2014 06:25:12 +0000 (10:25 +0400)
committerRoman Bogorodskiy <bogorodskiy@gmail.com>
Thu, 18 Sep 2014 09:37:12 +0000 (13:37 +0400)
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

index fa2f14b9d283ffa19b1ec6c9cdbc8e9428f23c67..0cbea2947cf4e4fc3bb6186bf451152a52d75cf3 100644 (file)
@@ -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,