static int qemu_rdma_registration_start(QEMUFile *f, void *opaque,

                                        uint64_t flags)

{

    QEMUFileRDMA *rfile = opaque;

    RDMAContext *rdma = rfile->rdma;



    CHECK_ERROR_STATE();



    DDDPRINTF("start section: %" PRIu64 "\n", flags);

    qemu_put_be64(f, RAM_SAVE_FLAG_HOOK);

    qemu_fflush(f);



    return 0;

}

static int qemu_rdma_registration_start(QEMUFile *f, void *opaque,

                                        uint64_t flags)

{

    QEMUFileRDMA *rfile = opaque;

    RDMAContext *rdma = rfile->rdma;



    CHECK_ERROR_STATE();



    DDDPRINTF("start section: %" PRIu64 "\n", flags);

    qemu_put_be64(f, RAM_SAVE_FLAG_HOOK);

    qemu_fflush(f);



    return 0;

}

static int FUNC_0(QEMUFile *VAR_0, void *VAR_1,

                                        uint64_t VAR_2)

{

    QEMUFileRDMA *rfile = VAR_1;

    RDMAContext *rdma = rfile->rdma;



    CHECK_ERROR_STATE();



    DDDPRINTF("start section: %" PRIu64 "\n", VAR_2);

    qemu_put_be64(VAR_0, RAM_SAVE_FLAG_HOOK);

    qemu_fflush(VAR_0);



    return 0;

}

static int FUNC_0(QEMUFile *VAR_0, void *VAR_1,
uint64_t VAR_2)
{ QEMUFileRDMA *rfile = VAR_1; RDMAContext *rdma = rfile->rdma; CHECK_ERROR_STATE(); DDDPRINTF("start section: %" PRIu64 "\n", VAR_2); qemu_put_be64(VAR_0, RAM_SAVE_FLAG_HOOK); qemu_fflush(VAR_0); return 0; }