void bdrv_io_limits_enable(BlockDriverState *bs)

{

    qemu_co_queue_init(&bs->throttled_reqs);

    bs->block_timer = qemu_new_timer_ns(vm_clock, bdrv_block_timer, bs);

    bs->io_limits_enabled = true;

}

void bdrv_io_limits_enable(BlockDriverState *bs)

{

    qemu_co_queue_init(&bs->throttled_reqs);

    bs->block_timer = qemu_new_timer_ns(vm_clock, bdrv_block_timer, bs);

    bs->io_limits_enabled = true;

}

void FUNC_0(BlockDriverState *VAR_0)

{

    qemu_co_queue_init(&VAR_0->throttled_reqs);

    VAR_0->block_timer = qemu_new_timer_ns(vm_clock, bdrv_block_timer, VAR_0);

    VAR_0->io_limits_enabled = true;

}

void FUNC_0(BlockDriverState *VAR_0)
{ qemu_co_queue_init(&VAR_0->throttled_reqs); VAR_0->block_timer = qemu_new_timer_ns(vm_clock, bdrv_block_timer, VAR_0); VAR_0->io_limits_enabled = true; }