void blk_insert_bs(BlockBackend *blk, BlockDriverState *bs)

{

    bdrv_ref(bs);

    blk->root = bdrv_root_attach_child(bs, "root", &child_root, blk);



    notifier_list_notify(&blk->insert_bs_notifiers, blk);

    if (blk->public.throttle_state) {

        throttle_timers_attach_aio_context(

            &blk->public.throttle_timers, bdrv_get_aio_context(bs));

    }

}

void blk_insert_bs(BlockBackend *blk, BlockDriverState *bs)

{

    bdrv_ref(bs);

    blk->root = bdrv_root_attach_child(bs, "root", &child_root, blk);



    notifier_list_notify(&blk->insert_bs_notifiers, blk);

    if (blk->public.throttle_state) {

        throttle_timers_attach_aio_context(

            &blk->public.throttle_timers, bdrv_get_aio_context(bs));

    }

}

void FUNC_0(BlockBackend *VAR_0, BlockDriverState *VAR_1)

{

    bdrv_ref(VAR_1);

    VAR_0->root = bdrv_root_attach_child(VAR_1, "root", &child_root, VAR_0);



    notifier_list_notify(&VAR_0->insert_bs_notifiers, VAR_0);

    if (VAR_0->public.throttle_state) {

        throttle_timers_attach_aio_context(

            &VAR_0->public.throttle_timers, bdrv_get_aio_context(VAR_1));

    }

}

void FUNC_0(BlockBackend *VAR_0, BlockDriverState *VAR_1)
{ bdrv_ref(VAR_1); VAR_0->root = bdrv_root_attach_child(VAR_1, "root", &child_root, VAR_0); notifier_list_notify(&VAR_0->insert_bs_notifiers, VAR_0); if (VAR_0->public.throttle_state) { throttle_timers_attach_aio_context(
&VAR_0->public.throttle_timers, bdrv_get_aio_context(VAR_1)); } }