static int get_para_features(CPUState *env)

{

        int i, features = 0;



        for (i = 0; i < ARRAY_SIZE(para_features) - 1; i++) {

                if (kvm_check_extension(env->kvm_state, para_features[i].cap))

                        features |= (1 << para_features[i].feature);

        }



        return features;

}

static int get_para_features(CPUState *env)

{

        int i, features = 0;



        for (i = 0; i < ARRAY_SIZE(para_features) - 1; i++) {

                if (kvm_check_extension(env->kvm_state, para_features[i].cap))

                        features |= (1 << para_features[i].feature);

        }



        return features;

}

static int FUNC_0(CPUState *VAR_0)

{

        int VAR_1, VAR_2 = 0;



        for (VAR_1 = 0; VAR_1 < ARRAY_SIZE(para_features) - 1; VAR_1++) {

                if (kvm_check_extension(VAR_0->kvm_state, para_features[VAR_1].cap))

                        VAR_2 |= (1 << para_features[VAR_1].feature);

        }



        return VAR_2;

}

static int FUNC_0(CPUState *VAR_0)
{ int VAR_1, VAR_2 = 0; for (VAR_1 = 0; VAR_1 < ARRAY_SIZE(para_features) - 1; VAR_1++) { if (kvm_check_extension(VAR_0->kvm_state, para_features[VAR_1].cap))
VAR_2 |= (1 << para_features[VAR_1].feature); } return VAR_2; }