From 677a541ca1f42d1f32a0371bbdf32005bdbd871d Mon Sep 17 00:00:00 2001 From: John Levon Date: Wed, 30 Jun 2021 15:24:48 +0100 Subject: 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 Reviewed-by: Thanos Makatos --- lib/private.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib/private.h') 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: */ -- cgit v1.1