Re: [PATCH v4 07/18] migration/rdma: add rdma field into multifd send/recv param

2021-03-01 Thread Zheng Chuan
On 2021/2/4 2:32, Dr. David Alan Gilbert wrote: > * Chuan Zheng (zhengch...@huawei.com) wrote: >> Note we do want to export any rdma struct, take void * instead. > > You don't need to make this a void *; add a typedef struct RDMAContext > into include/qemu/typedefs.h and then you can use the r

Re: [PATCH v4 07/18] migration/rdma: add rdma field into multifd send/recv param

2021-02-03 Thread Dr. David Alan Gilbert
* Chuan Zheng (zhengch...@huawei.com) wrote: > Note we do want to export any rdma struct, take void * instead. You don't need to make this a void *; add a typedef struct RDMAContext into include/qemu/typedefs.h and then you can use the right type here without actually exporting the interesting co

[PATCH v4 07/18] migration/rdma: add rdma field into multifd send/recv param

2021-02-02 Thread Chuan Zheng
Note we do want to export any rdma struct, take void * instead. Signed-off-by: Chuan Zheng --- migration/multifd.h | 8 1 file changed, 8 insertions(+) diff --git a/migration/multifd.h b/migration/multifd.h index d57756c..b17a2c1 100644 --- a/migration/multifd.h +++ b/migration/multifd