This series is several cleanups, moved out from CPU properties series, since they do not really depend on CPU properties re-factoring and could simplify CPU subclasses work as well.
Series doesn't depend on cpu as device or any other series, and applies to current master. git tree for testing: https://github.com/imammedo/qemu/tree/x86_cpu_cleanup.wave2.v2 v2: - cleanup commit message and style fixes in [PATCH 2/6] target-i386: sanitize AMD's ext2_features at realize time - extracted more patches [07-20] from cpu properties series, that were more cleanups and code reorganizing than conversion to static properties. Igor Mammedov (20): target-i386: filter out not TCG features if running without kvm at realize time target-i386: sanitize AMD's ext2_features at realize time target-i386: explicitly set vendor for each built-in cpudef target-i386: setting default 'vendor' is obsolete, remove it target-i386: move setting defaults out of cpu_x86_parse_featurestr() target-i386: move out CPU features initialization in separate func target-i386: cpu_x86_register() consolidate freeing resources target-i386: compile kvm only functions if CONFIG_KVM is defined target-i386: move kvm_check_features_against_host() check to realize time target-i386: prepare cpu_x86_parse_featurestr() to return a set of key,value property pairs target-i386: do not set vendor_override in x86_cpuid_set_vendor() target-i386: replace uint32_t vendor fields by vendor string in x86_def_t target-i386: convert [cpuid_]vendor_override to bool target-i386: set custom 'vendor' without intermediate x86_def_t target-i386: set custom 'xlevel' without intermediate x86_def_t target-i386: set custom 'level' without intermediate x86_def_t target-i386: set custom 'model-id' without intermediate x86_def_t target-i386: set custom 'stepping' without intermediate x86_def_t target-i386: set custom 'model' without intermediate x86_def_t target-i386: set custom 'family' without intermediate x86_def_t target-i386/cpu.c | 338 ++++++++++++++++++++++++----------------------------- target-i386/cpu.h | 8 +- 2 files changed, 158 insertions(+), 188 deletions(-)