void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context)

{

    s->aio_context = new_context;

    s->completion_bh = aio_bh_new(new_context, qemu_laio_completion_bh, s);

    aio_set_event_notifier(new_context, &s->e, false,

                           qemu_laio_completion_cb, NULL);

}

void laio_attach_aio_context(LinuxAioState *s, AioContext *new_context)

{

    s->aio_context = new_context;

    s->completion_bh = aio_bh_new(new_context, qemu_laio_completion_bh, s);

    aio_set_event_notifier(new_context, &s->e, false,

                           qemu_laio_completion_cb, NULL);

}

void FUNC_0(LinuxAioState *VAR_0, AioContext *VAR_1)

{

    VAR_0->aio_context = VAR_1;

    VAR_0->completion_bh = aio_bh_new(VAR_1, qemu_laio_completion_bh, VAR_0);

    aio_set_event_notifier(VAR_1, &VAR_0->e, false,

                           qemu_laio_completion_cb, NULL);

}

void FUNC_0(LinuxAioState *VAR_0, AioContext *VAR_1)
{ VAR_0->aio_context = VAR_1; VAR_0->completion_bh = aio_bh_new(VAR_1, qemu_laio_completion_bh, VAR_0); aio_set_event_notifier(VAR_1, &VAR_0->e, false,
qemu_laio_completion_cb, NULL); }