/* Memory regions need to be registered with the device and queue pairs setup in advanced before the migration starts. This tells us where the RAM blocks are so that we can register them individually.  */
static void qemu_rdma_init_one_block(void *host_addr, ram_addr_t block_offset, ram_addr_t length, void *opaque)
/* Memory regions need to be registered with the device and queue pairs setup in advanced before the migration starts. This tells us where the RAM blocks are so that we can register them individually.  */
static void qemu_rdma_init_one_block(void *host_addr, ram_addr_t block_offset, ram_addr_t length, void *opaque)
{
    __qemu_rdma_add_block(opaque, host_addr, block_offset, length);
}