aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-02-11 20:35:11 +0000
committerGitHub <noreply@github.com>2021-02-11 20:35:11 +0000
commitce35c1da0add92c690ea6ab77e1ef3d7cbba28f5 (patch)
tree906548d596d80180bbb6a79a12bd850d603b9796 /test
parent1a049406e55ab7eeb3b69982a1ddc9ba2e5e2d2a (diff)
downloadlibvfio-user-ce35c1da0add92c690ea6ab77e1ef3d7cbba28f5.zip
libvfio-user-ce35c1da0add92c690ea6ab77e1ef3d7cbba28f5.tar.gz
libvfio-user-ce35c1da0add92c690ea6ab77e1ef3d7cbba28f5.tar.bz2
introduce transport reply() handler (#313)
Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'test')
-rw-r--r--test/unit-tests.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/unit-tests.c b/test/unit-tests.c
index 8638c10..7ec1469 100644
--- a/test/unit-tests.c
+++ b/test/unit-tests.c
@@ -347,7 +347,8 @@ test_process_command_free_passed_fds(void **state __attribute__((unused)))
vfu_ctx_t vfu_ctx = {
.conn_fd = 0xcafebabe,
.client_max_fds = ARRAY_SIZE(fds),
- .migration = (struct migration*)0x8badf00d
+ .migration = (struct migration*)0x8badf00d,
+ .trans = &tran_sock_ops,
};
patch(device_is_stopped);