[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 01/17] migration/multifd: Fix compile error caused by page_size us
From: |
Fabiano Rosas |
Subject: |
[PULL 01/17] migration/multifd: Fix compile error caused by page_size usage |
Date: |
Tue, 17 Dec 2024 14:48:39 -0300 |
From: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
>From Commit 90fa121c6c07 ("migration/multifd: Inline page_size and
page_count") onwards page_size is not part of MutiFD*Params but uses
an inline constant instead.
However, it missed updating an old usage, causing a compile error.
Fixes: 90fa121c6c07 ("migration/multifd: Inline page_size and page_count")
Signed-off-by: Shameer Kolothum <shameerali.kolothum.thodi@huawei.com>
Reviewed-by: Fabiano Rosas <farosas@suse.de>
Message-Id: <20241203124943.52572-1-shameerali.kolothum.thodi@huawei.com>
Signed-off-by: Fabiano Rosas <farosas@suse.de>
---
migration/multifd-uadk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/migration/multifd-uadk.c b/migration/multifd-uadk.c
index 6e6a290ae9..6895c1f65a 100644
--- a/migration/multifd-uadk.c
+++ b/migration/multifd-uadk.c
@@ -169,7 +169,7 @@ static int multifd_uadk_send_prepare(MultiFDSendParams *p,
Error **errp)
.src_len = page_size,
.dst = buf,
/* Set dst_len to double the src in case compressed out >=
page_size */
- .dst_len = p->page_size * 2,
+ .dst_len = page_size * 2,
};
if (uadk_data->handle) {
--
2.35.3
- [PULL 00/17] Migration patches for 2024-12-17, Fabiano Rosas, 2024/12/17
- [PULL 05/17] migration/multifd: Unify RAM_SAVE_FLAG_MULTIFD_FLUSH messages, Fabiano Rosas, 2024/12/17
- [PULL 04/17] migration/ram: Move RAM_SAVE_FLAG* into ram.h, Fabiano Rosas, 2024/12/17
- [PULL 07/17] migration/multifd: Cleanup src flushes on condition check, Fabiano Rosas, 2024/12/17
- [PULL 01/17] migration/multifd: Fix compile error caused by page_size usage,
Fabiano Rosas <=
- [PULL 03/17] migration/multifd: Allow to sync with sender threads only, Fabiano Rosas, 2024/12/17
- [PULL 06/17] migration/multifd: Remove sync processing on postcopy, Fabiano Rosas, 2024/12/17
- [PULL 09/17] migration/multifd: Fix compat with QEMU < 9.0, Fabiano Rosas, 2024/12/17
- [PULL 02/17] migration/multifd: Further remove the SYNC on complete, Fabiano Rosas, 2024/12/17
- [PULL 10/17] s390x: Fix CSS migration, Fabiano Rosas, 2024/12/17
- [PULL 08/17] migration/multifd: Document the reason to sync for save_setup(), Fabiano Rosas, 2024/12/17
- [PULL 11/17] migration: Add helper to get target runstate, Fabiano Rosas, 2024/12/17
- [PULL 12/17] qmp/cont: Only activate disks if migration completed, Fabiano Rosas, 2024/12/17
- [PULL 13/17] migration/block: Make late-block-active the default, Fabiano Rosas, 2024/12/17
- [PULL 15/17] migration/block: Fix possible race with block_inactive, Fabiano Rosas, 2024/12/17