From 3792f9cbc3f9a200e7d6d54f97fac3b74cbf8398 Mon Sep 17 00:00:00 2001 From: Thanos Makatos Date: Mon, 25 Jan 2021 16:46:30 +0000 Subject: minor rephrasing of get_pending_bytes documentation (#259) Signed-off-by: Thanos Makatos --- include/libvfio-user.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/include/libvfio-user.h b/include/libvfio-user.h index 80a45b3..9cc0191 100644 --- a/include/libvfio-user.h +++ b/include/libvfio-user.h @@ -357,11 +357,12 @@ typedef struct { /* Callbacks for saving device state */ /* - * Function that is called to retrieve pending migration data. If migration - * data were previously made available (function prepare_data has been - * called) then calling this function signifies that they have been read - * (e.g. migration data can be discarded). If the function returns 0 then - * migration has finished and this function won't be called again. + * Function that is called to retrieve the amount of pending migration + * data. If migration data were previously made available (function + * prepare_data has been called) then calling this function signifies that + * they have been read (e.g. migration data can be discarded). If the + * function returns 0 then migration has finished and this function won't + * be called again. */ __u64 (*get_pending_bytes)(vfu_ctx_t *vfu_ctx); -- cgit v1.1