Re: [PATCH 32/52] migration/rdma: Fix error handling around rdma_getaddrinfo()

2023-09-25 Thread Zhijian Li (Fujitsu)
On 18/09/2023 22:41, Markus Armbruster wrote: > qemu_rdma_resolve_host() and qemu_rdma_dest_init() iterate over > addresses to find one that works, holding onto the first Error from > qemu_rdma_broken_ipv6_kernel() for use when no address works. Issues: > > 1. If @errp was _abort or _fatal,

[PATCH 32/52] migration/rdma: Fix error handling around rdma_getaddrinfo()

2023-09-18 Thread Markus Armbruster
qemu_rdma_resolve_host() and qemu_rdma_dest_init() iterate over addresses to find one that works, holding onto the first Error from qemu_rdma_broken_ipv6_kernel() for use when no address works. Issues: 1. If @errp was _abort or _fatal, we'd terminate instead of trying the next address. Can't