thebeanogamer / rpms / qemu-kvm

Forked from rpms/qemu-kvm 5 months ago
Clone
0727d3
From 3b567f762cbd8d4ffaf717b0baba9cf9fe9614c2 Mon Sep 17 00:00:00 2001
0727d3
From: Juan Quintela <quintela@redhat.com>
0727d3
Date: Wed, 18 May 2022 02:52:23 -0300
0727d3
Subject: [PATCH 03/37] multifd: Add missing documentation
0727d3
MIME-Version: 1.0
0727d3
Content-Type: text/plain; charset=UTF-8
0727d3
Content-Transfer-Encoding: 8bit
0727d3
0727d3
RH-Author: Leonardo Brás <leobras@redhat.com>
0727d3
RH-MergeRequest: 191: MSG_ZEROCOPY + Multifd @ rhel8.7
0727d3
RH-Commit: [3/26] 924fca4305ebd8669955d456fc1c515f509e6026
0727d3
RH-Bugzilla: 2072049
0727d3
RH-Acked-by: Peter Xu <peterx@redhat.com>
0727d3
RH-Acked-by: Daniel P. Berrangé <berrange@redhat.com>
0727d3
RH-Acked-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
0727d3
0727d3
Signed-off-by: Juan Quintela <quintela@redhat.com>
0727d3
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
0727d3
(cherry picked from commit 18ede636bc29fd8bda628fe3e5c593f8c1b734f4)
0727d3
(fixed typo in commit message)
0727d3
Signed-off-by: Leonardo Bras <leobras@redhat.com>
0727d3
---
0727d3
 migration/multifd-zlib.c | 2 ++
0727d3
 migration/multifd-zstd.c | 2 ++
0727d3
 migration/multifd.c      | 1 +
0727d3
 3 files changed, 5 insertions(+)
0727d3
0727d3
diff --git a/migration/multifd-zlib.c b/migration/multifd-zlib.c
0727d3
index ab4ba75d75..f403d2f031 100644
0727d3
--- a/migration/multifd-zlib.c
0727d3
+++ b/migration/multifd-zlib.c
0727d3
@@ -74,6 +74,7 @@ static int zlib_send_setup(MultiFDSendParams *p, Error **errp)
0727d3
  * Close the channel and return memory.
0727d3
  *
0727d3
  * @p: Params for the channel that we are using
0727d3
+ * @errp: pointer to an error
0727d3
  */
0727d3
 static void zlib_send_cleanup(MultiFDSendParams *p, Error **errp)
0727d3
 {
0727d3
@@ -96,6 +97,7 @@ static void zlib_send_cleanup(MultiFDSendParams *p, Error **errp)
0727d3
  *
0727d3
  * @p: Params for the channel that we are using
0727d3
  * @used: number of pages used
0727d3
+ * @errp: pointer to an error
0727d3
  */
0727d3
 static int zlib_send_prepare(MultiFDSendParams *p, uint32_t used, Error **errp)
0727d3
 {
0727d3
diff --git a/migration/multifd-zstd.c b/migration/multifd-zstd.c
0727d3
index 693bddf8c9..8d657f8860 100644
0727d3
--- a/migration/multifd-zstd.c
0727d3
+++ b/migration/multifd-zstd.c
0727d3
@@ -86,6 +86,7 @@ static int zstd_send_setup(MultiFDSendParams *p, Error **errp)
0727d3
  * Close the channel and return memory.
0727d3
  *
0727d3
  * @p: Params for the channel that we are using
0727d3
+ * @errp: pointer to an error
0727d3
  */
0727d3
 static void zstd_send_cleanup(MultiFDSendParams *p, Error **errp)
0727d3
 {
0727d3
@@ -109,6 +110,7 @@ static void zstd_send_cleanup(MultiFDSendParams *p, Error **errp)
0727d3
  *
0727d3
  * @p: Params for the channel that we are using
0727d3
  * @used: number of pages used
0727d3
+ * @errp: pointer to an error
0727d3
  */
0727d3
 static int zstd_send_prepare(MultiFDSendParams *p, uint32_t used, Error **errp)
0727d3
 {
0727d3
diff --git a/migration/multifd.c b/migration/multifd.c
0727d3
index 8ea86d81dc..cdeffdc4c5 100644
0727d3
--- a/migration/multifd.c
0727d3
+++ b/migration/multifd.c
0727d3
@@ -66,6 +66,7 @@ static int nocomp_send_setup(MultiFDSendParams *p, Error **errp)
0727d3
  * For no compression this function does nothing.
0727d3
  *
0727d3
  * @p: Params for the channel that we are using
0727d3
+ * @errp: pointer to an error
0727d3
  */
0727d3
 static void nocomp_send_cleanup(MultiFDSendParams *p, Error **errp)
0727d3
 {
0727d3
-- 
0727d3
2.35.3
0727d3