static int configuration_post_load(void *opaque, int version_id)

{

    SaveState *state = opaque;

    const char *current_name = MACHINE_GET_CLASS(current_machine)->name;



    if (strncmp(state->name, current_name, state->len) != 0) {

        error_report("Machine type received is '%s' and local is '%s'",

                     state->name, current_name);

        return -EINVAL;

    }

    return 0;

}

static int configuration_post_load(void *opaque, int version_id)

{

    SaveState *state = opaque;

    const char *current_name = MACHINE_GET_CLASS(current_machine)->name;



    if (strncmp(state->name, current_name, state->len) != 0) {

        error_report("Machine type received is '%s' and local is '%s'",

                     state->name, current_name);

        return -EINVAL;

    }

    return 0;

}

        error_report("Machine type received is '%s' and local is '%s'",                      state->name, current_name);
static int FUNC_0(void *VAR_0, int VAR_1)

{

    SaveState *state = VAR_0;

    const char *VAR_2 = MACHINE_GET_CLASS(current_machine)->name;



    if (strncmp(state->name, VAR_2, state->len) != 0) {

        error_report("Machine type received is '%s' and local is '%s'",

                     state->name, VAR_2);

        return -EINVAL;

    }

    return 0;

}

static int FUNC_0(void *VAR_0, int VAR_1)
{ SaveState *state = VAR_0; const char *VAR_2 = MACHINE_GET_CLASS(current_machine)->name; if (strncmp(state->name, VAR_2, state->len) != 0) { error_report("Machine type received is '%s' and local is '%s'",
state->name, VAR_2); return -EINVAL; } return 0; }