Re: [Qemu-devel] [PULL v3 4/7] rdma: core logic

2013-04-17 Thread Michael R. Hines
Thanks. Comments inline On 04/17/2013 05:16 AM, Paolo Bonzini wrote: +/* + * Create protection domain and completion queues + */ +static int qemu_rdma_alloc_pd_cq(RDMAContext *rdma) +{ +/* allocate pd */ +rdma->pd = ibv_alloc_pd(rdma->verbs); +if (!rdma->pd) { +fprintf(

Re: [Qemu-devel] [PULL v3 4/7] rdma: core logic

2013-04-17 Thread Paolo Bonzini
Il 17/04/2013 13:20, Orit Wasserman ha scritto: >> +/* >> + * Virtual address of the above structures used for transmitting >> + * the RAMBlock descriptions at connection-time. >> + */ >> +typedef struct RDMALocalBlocks { >> +int num_blocks; >> +RDMALocalBlock *block; >> +} RDMALocalBlocks;