Lines Matching full:model
43 /* CPU model based on a CPU definition */
47 /* values copied from the "host" model, can change during migration */
83 static inline uint16_t s390_ibc_from_cpu_model(const S390CPUModel *model) in s390_ibc_from_cpu_model() argument
87 if (model->def->gen >= S390_GEN_Z10) { in s390_ibc_from_cpu_model()
88 ibc = ((model->def->gen - S390_GEN_Z10) << 4) + model->def->ec_ga; in s390_ibc_from_cpu_model()
107 static inline uint64_t s390_cpuid_from_cpu_model(const S390CPUModel *model) in s390_cpuid_from_cpu_model() argument
109 return ((uint64_t)model->cpu_ver << 56) | in s390_cpuid_from_cpu_model()
110 ((uint64_t)model->cpu_id << CPU_ID_SHIFT) | in s390_cpuid_from_cpu_model()
111 ((uint64_t)model->def->type << 16) | in s390_cpuid_from_cpu_model()
112 (model->def->gen == 7 ? 0 : (uint64_t)model->cpu_id_format << 15); in s390_cpuid_from_cpu_model()
118 bool kvm_s390_get_host_cpu_model(S390CPUModel *model, Error **errp);
119 bool kvm_s390_apply_cpu_model(const S390CPUModel *model, Error **errp);