aboutsummaryrefslogtreecommitdiff
path: root/lib/private.h
diff options
context:
space:
mode:
authorJohn Levon <john.levon@nutanix.com>2021-06-30 15:24:48 +0100
committerGitHub <noreply@github.com>2021-06-30 15:24:48 +0100
commit677a541ca1f42d1f32a0371bbdf32005bdbd871d (patch)
tree3381320b7f4148c1ad6474c3021fc6834b8028bd /lib/private.h
parent8b4089ad1164ef0d98d6d777de63de2aa25a1d8a (diff)
downloadlibvfio-user-677a541ca1f42d1f32a0371bbdf32005bdbd871d.zip
libvfio-user-677a541ca1f42d1f32a0371bbdf32005bdbd871d.tar.gz
libvfio-user-677a541ca1f42d1f32a0371bbdf32005bdbd871d.tar.bz2
return process request count in vfu_run_ctx() (#574)
Consumers such as SPDK would like to know if any actual work was done. Modify the API to support this. Also, clean up some stale mocking we no longer use. Signed-off-by: John Levon <john.levon@nutanix.com> Reviewed-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'lib/private.h')
-rw-r--r--lib/private.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/private.h b/lib/private.h
index f474e1f..fb26b6a 100644
--- a/lib/private.h
+++ b/lib/private.h
@@ -214,8 +214,6 @@ MOCK_DECLARE(bool, cmd_allowed_when_stopped_and_copying, uint16_t cmd);
MOCK_DECLARE(bool, should_exec_command, vfu_ctx_t *vfu_ctx, uint16_t cmd);
-MOCK_DECLARE(int, process_request, vfu_ctx_t *vfu_ctx);
-
#endif /* LIB_VFIO_USER_PRIVATE_H */
/* ex: set tabstop=4 shiftwidth=4 softtabstop=4 expandtab: */