aboutsummaryrefslogtreecommitdiff
path: root/include/libvfio-user.h
diff options
context:
space:
mode:
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);