qemu/block.c
/*
 * Abort the reopen, and delete and free the staged changes in
 * reopen_state
 */
Abort the reopen, and delete and free the staged changes in
reopen_state
Abort the reopen and delete and free the staged changes in reopen_state
void bdrv_reopen_abort(BDRVReopenState *reopen_state)
{
    BlockDriver *drv;
    assert(reopen_state != NULL);
    drv = reopen_state->bs->drv;
    assert(drv != NULL);
    if (drv->bdrv_reopen_abort) {
        drv->bdrv_reopen_abort(reopen_state);
    }
    bdrv_abort_perm_update(reopen_state->bs);
}
void bdrv_reopen_abort ( BDRVReopenState * reopen_state ) { BlockDriver * drv ; assert ( reopen_state != NULL ) ; drv = reopen_state -> bs -> drv ; assert ( drv != NULL ) ; if ( drv -> bdrv_reopen_abort ) { drv -> bdrv_reopen_abort ( reopen_state ) ; } bdrv_abort_perm_update ( reopen_state -> bs ) ; }
Abort the reopen, and delete and free the staged changes in
 reopen_state
Abort the reopen and delete and free the staged changes in reopen_state