aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
authorThanos Makatos <thanos.makatos@nutanix.com>2021-01-25 16:46:30 +0000
committerGitHub <noreply@github.com>2021-01-25 16:46:30 +0000
commit3792f9cbc3f9a200e7d6d54f97fac3b74cbf8398 (patch)
tree1fde999c6cf3ebfe44776c0b490f3cfe0df96faa /include/libvfio-user.h
parent7e110c6b6452a2c7b6a0a64d1898e19d5f0b2831 (diff)
downloadlibvfio-user-3792f9cbc3f9a200e7d6d54f97fac3b74cbf8398.zip
libvfio-user-3792f9cbc3f9a200e7d6d54f97fac3b74cbf8398.tar.gz
libvfio-user-3792f9cbc3f9a200e7d6d54f97fac3b74cbf8398.tar.bz2
minor rephrasing of get_pending_bytes documentation (#259)
Signed-off-by: Thanos Makatos <thanos.makatos@nutanix.com>
Diffstat (limited to 'include/libvfio-user.h')
-rw-r--r--include/libvfio-user.h11
1 files 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);