summaryrefslogtreecommitdiff
path: root/tests/bhyvexml2argvmock.c
diff options
context:
space:
mode:
authorRoman Bogorodskiy <bogorodskiy@gmail.com>2014-09-18 10:25:12 +0400
committerRoman Bogorodskiy <bogorodskiy@gmail.com>2014-09-18 13:37:12 +0400
commitd0d344cfdbd49e9bbdb36d79f351be5d225fe1be (patch)
tree00b83a8c67b9240f997559985dcfc7d152490159 /tests/bhyvexml2argvmock.c
parent540ee872494316ef5bfc17ef3dd4338080c3e513 (diff)
downloadlibvirt-d0d344cfdbd49e9bbdb36d79f351be5d225fe1be.tar.gz
bhyve: tests: fix build
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.
Diffstat (limited to 'tests/bhyvexml2argvmock.c')
-rw-r--r--tests/bhyvexml2argvmock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/bhyvexml2argvmock.c b/tests/bhyvexml2argvmock.c
index fa2f14b9d2..0cbea2947c 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,