void bdrv_detach(BlockDriverState *bs, DeviceState *qdev)

{

    assert(bs->peer == qdev);

    bs->peer = NULL;

    bs->change_cb = NULL;

    bs->change_opaque = NULL;

}

void bdrv_detach(BlockDriverState *bs, DeviceState *qdev)

{

    assert(bs->peer == qdev);

    bs->peer = NULL;

    bs->change_cb = NULL;

    bs->change_opaque = NULL;

}

void FUNC_0(BlockDriverState *VAR_0, DeviceState *VAR_1)

{

    assert(VAR_0->peer == VAR_1);

    VAR_0->peer = NULL;

    VAR_0->change_cb = NULL;

    VAR_0->change_opaque = NULL;

}

void FUNC_0(BlockDriverState *VAR_0, DeviceState *VAR_1)
{ assert(VAR_0->peer == VAR_1); VAR_0->peer = NULL; VAR_0->change_cb = NULL; VAR_0->change_opaque = NULL; }