static void raw_reopen_commit(BDRVReopenState *state)

{

    BDRVRawState *new_s = state->opaque;

    BDRVRawState *s = state->bs->opaque;



    memcpy(s, new_s, sizeof(BDRVRawState));



    g_free(state->opaque);

    state->opaque = NULL;

}

static void raw_reopen_commit(BDRVReopenState *state)

{

    BDRVRawState *new_s = state->opaque;

    BDRVRawState *s = state->bs->opaque;



    memcpy(s, new_s, sizeof(BDRVRawState));



    g_free(state->opaque);

    state->opaque = NULL;

}

static void FUNC_0(BDRVReopenState *VAR_0)

{

    BDRVRawState *new_s = VAR_0->opaque;

    BDRVRawState *s = VAR_0->bs->opaque;



    memcpy(s, new_s, sizeof(BDRVRawState));



    g_free(VAR_0->opaque);

    VAR_0->opaque = NULL;

}

static void FUNC_0(BDRVReopenState *VAR_0)
{ BDRVRawState *new_s = VAR_0->opaque; BDRVRawState *s = VAR_0->bs->opaque; memcpy(s, new_s, sizeof(BDRVRawState)); g_free(VAR_0->opaque); VAR_0->opaque = NULL; }