Searched refs:max_model (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/target/s390x/ |
H A D | cpu_models.c | 514 const S390CPUModel *max_model, in check_compat_model_failed() argument 518 msg, max_model->def->name); in check_compat_model_failed() 523 static bool check_compatibility(const S390CPUModel *max_model, in check_compatibility() argument 529 if (model->def->gen > max_model->def->gen) { in check_compatibility() 530 check_compat_model_failed(errp, max_model, "Selected CPU generation is too new"); in check_compatibility() 532 } else if (model->def->gen == max_model->def->gen && in check_compatibility() 533 model->def->ec_ga > max_model->def->ec_ga) { in check_compatibility() 534 check_compat_model_failed(errp, max_model, "Selected CPU GA level is too new"); in check_compatibility() 548 bitmap_andnot(missing, model->features, max_model->features, S390_FEAT_MAX); in check_compatibility() 564 static S390CPUModel max_model; in get_max_cpu_model() local [all …]
|
H A D | cpu_models_sysemu.c | 26 static void check_unavailable_features(const S390CPUModel *max_model, in check_unavailable_features() argument 33 if (max_model->def->gen < model->def->gen || in check_unavailable_features() 34 (max_model->def->gen == model->def->gen && in check_unavailable_features() 35 max_model->def->ec_ga < model->def->ec_ga)) { in check_unavailable_features() 40 bitmap_andnot(missing, model->features, max_model->features, in check_unavailable_features()
|