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.v3 v3: - [07/20] sets error if cpu name is empty, restore return -1 on error - get rid of *vendor_override field in CPUX86State & co - mark xlevel < 0x80000000 as depricated - squash idef-ing kvm specific functions in [08/20] - expand comment of [12/20] and reorder it right before "set custom" patches 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: move kvm_check_features_against_host() check to realize time target-i386: add x86cpu_vendor_words2str() target-i386: replace uint32_t vendor fields by vendor string in x86_def_t target-i386: remove vendor_override field from CPUX86State target-i386: prepare cpu_x86_parse_featurestr() to return a set of key,value property pairs target-i386: set custom 'vendor' without intermediate x86_def_t target-i386: print depricated warning if xlevel < 0x80000000 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 | 377 +++++++++++++++++++++++++---------------------------- target-i386/cpu.h | 7 +- 2 files changed, 178 insertions(+), 206 deletions(-)