summaryrefslogtreecommitdiff
path: root/migration/multifd-zstd.c
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2021-11-22 11:58:41 +0100
committerJuan Quintela <quintela@redhat.com>2021-12-15 10:31:42 +0100
commit18ede636bc29fd8bda628fe3e5c593f8c1b734f4 (patch)
tree3264424cff3fd13989b14017c8d0a9ea3f1f9e74 /migration/multifd-zstd.c
parent90a3d2f9d5f729147b2827c177932603ae6e2d55 (diff)
downloadqemu-18ede636bc29fd8bda628fe3e5c593f8c1b734f4.zip
multifd: Add missing documention
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Diffstat (limited to 'migration/multifd-zstd.c')
-rw-r--r--migration/multifd-zstd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/migration/multifd-zstd.c b/migration/multifd-zstd.c
index cc3b8869c0..09ae1cf91a 100644
--- a/migration/multifd-zstd.c
+++ b/migration/multifd-zstd.c
@@ -84,6 +84,7 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp)
* Close the channel and return memory.
*
* @p: Params for the channel that we are using
+ * @errp: pointer to an error
*/
static void zstd_send_cleanup(MultiFDSendParams *p, Error **errp)
{
@@ -107,6 +108,7 @@ static void zstd_send_cleanup(MultiFDSendParams *p, Error **errp)
*
* @p: Params for the channel that we are using
* @used: number of pages used
+ * @errp: pointer to an error
*/
static int zstd_send_prepare(MultiFDSendParams *p, uint32_t used, Error **errp)
{