- thread-pool: optimize scheduling of completion bottom half - migration/rdma: zore out head.repeat to make the error more clear - vhost-user-fs: Back up vqs before cleaning up vhost_dev - hw/vfio/pci-quirks: Sanitize capability pointer - hw/vfio/pci-quirks: Support alternate offset for GPUDirect Cliques - replay: fix event queue flush for qemu shutdown - hw/net: Fix read of uninitialized memory in ftgmac100 - target/ppc: Fix tlbie - target/i386: fix INVD vmexit - qtest/npcm7xx_pwm-test: Fix memory leak in mft_qom_set - aio-posix: zero out io_uring sqe user_data Signed-off-by: Jiabo Feng <fengjiabo1@huawei.com>
44 lines
1.5 KiB
Diff
44 lines
1.5 KiB
Diff
From e65dfad1fd7832fc206f3a22479169fcb4527317 Mon Sep 17 00:00:00 2001
|
|
From: qihao <qihao_yewu@cmss.chinamobile.com>
|
|
Date: Mon, 9 Oct 2023 18:11:54 +0800
|
|
Subject: [PATCH] migration/rdma: zore out head.repeat to make the error more
|
|
clear
|
|
|
|
cheery-pick from 2ada4b63f1764d13a2b9ca9cbeb5feda46ab6851
|
|
|
|
Previously, we got a confusion error that complains
|
|
the RDMAControlHeader.repeat:
|
|
qemu-system-x86_64: rdma: Too many requests in this message (3638950032).Bailing.
|
|
|
|
Actually, it's caused by an unexpected RDMAControlHeader.type.
|
|
After this patch, error will become:
|
|
qemu-system-x86_64: Unknown control message QEMU FILE
|
|
|
|
Reviewed-by: Fabiano Rosas <farosas@suse.de>
|
|
Reviewed-by: Peter Xu <peterx@redhat.com>
|
|
Reviewed-by: Juan Quintela <quintela@redhat.com>
|
|
Signed-off-by: Li Zhijian <lizhijian@fujitsu.com>
|
|
Signed-off-by: Juan Quintela <quintela@redhat.com>
|
|
Message-ID: <20230926100103.201564-2-lizhijian@fujitsu.com>
|
|
Signed-off-by: qihao_yewu <qihao_yewu@cmss.chinamobile.com>
|
|
---
|
|
migration/rdma.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/migration/rdma.c b/migration/rdma.c
|
|
index f5d3bbe7e9..60c856dd2f 100644
|
|
--- a/migration/rdma.c
|
|
+++ b/migration/rdma.c
|
|
@@ -2866,7 +2866,7 @@ static ssize_t qio_channel_rdma_writev(QIOChannel *ioc,
|
|
size_t remaining = iov[i].iov_len;
|
|
uint8_t * data = (void *)iov[i].iov_base;
|
|
while (remaining) {
|
|
- RDMAControlHeader head;
|
|
+ RDMAControlHeader head = {};
|
|
|
|
len = MIN(remaining, RDMA_SEND_INCREMENT);
|
|
remaining -= len;
|
|
--
|
|
2.41.0.windows.1
|
|
|