void bdrv_replace_in_backing_chain(BlockDriverState *old, BlockDriverState *new)

{

    assert(!bdrv_requests_pending(old));

    assert(!bdrv_requests_pending(new));



    bdrv_ref(old);



    change_parent_backing_link(old, new);



    bdrv_unref(old);

}

void bdrv_replace_in_backing_chain(BlockDriverState *old, BlockDriverState *new)

{

    assert(!bdrv_requests_pending(old));

    assert(!bdrv_requests_pending(new));



    bdrv_ref(old);



    change_parent_backing_link(old, new);



    bdrv_unref(old);

}

void FUNC_0(BlockDriverState *VAR_0, BlockDriverState *VAR_1)

{

    assert(!bdrv_requests_pending(VAR_0));

    assert(!bdrv_requests_pending(VAR_1));



    bdrv_ref(VAR_0);



    change_parent_backing_link(VAR_0, VAR_1);



    bdrv_unref(VAR_0);

}

void FUNC_0(BlockDriverState *VAR_0, BlockDriverState *VAR_1)
{ assert(!bdrv_requests_pending(VAR_0)); assert(!bdrv_requests_pending(VAR_1)); bdrv_ref(VAR_0); change_parent_backing_link(VAR_0, VAR_1); bdrv_unref(VAR_0); }