PS: forgot to add git tree for testing: https://github.com/imammedo/qemu/tree/x86-cpu-properties_RFC
----- Original Message ----- > From: "Igor Mammedov" <imamm...@redhat.com> > To: qemu-devel@nongnu.org > Cc: aligu...@us.ibm.com, stefa...@linux.vnet.ibm.com, g...@redhat.com, "jan > kiszka" <jan.kis...@siemens.com>, > mtosa...@redhat.com, mdr...@linux.vnet.ibm.com, blauwir...@gmail.com, > a...@redhat.com, pbonz...@redhat.com, > ak...@redhat.com, ler...@redhat.com, afaer...@suse.de, ehabk...@redhat.com > Sent: Friday, August 10, 2012 1:22:16 PM > Subject: [Qemu-devel] [RFC 00/20] target-i386: convert CPU features into > properties > > build and run tested in FC17 host with x86_64-linux-user, > x86_64-softmmu > targets > > Igor Mammedov (20): > target-i386: return Error from cpu_x86_find_by_name() > target-i386: cpu_x86_register(): report error from property setter > target-i386: if x86_cpu_realize() failed report error and do > cleanup > target-i386: filter out not TCG features if running without kvm at > realize time > target-i386: move out CPU features initialization in separate func > target-i386: xlevel should be more than 0x80000000, move fixup into > setter > target-i386: convert cpuid features into properties > target-i386: convert 'hv_spinlocks' feature into property > target-i386: convert 'hv_relaxed' feature into property > target-i386: convert 'hv_vapic' feature into property > target-i386: convert 'check' and 'enforce' features into properties > add visitor for parsing hz[KMG] input string > target-i386: use visit_type_hz to parse tsc_freq property value > target-i386: introduce vendor-override property > target-i386: use define for cpuid vendor string size > target-i386: replace uint32_t vendor fields by vendor string in > x86_def_t > target-i386: parse cpu_model string into set of stringified > properties > target-i386: use properties to set/unset user specified features on > CPU > target-i386: move init of "hypervisor" feature into CPU initializer > from cpudef > target-i386: move default init of cpuid_kvm_features bitmap into > CPU > initializer from cpudef > > qapi/qapi-visit-core.c | 11 + > qapi/qapi-visit-core.h | 2 + > qapi/string-input-visitor.c | 22 ++ > target-i386/cpu.c | 669 > +++++++++++++++++++++++++++----------------- > target-i386/cpu.h | 14 +- > target-i386/helper.c | 9 +- > 6 files changed, 464 insertions(+), 263 deletions(-) > > -- > 1.7.11.2 > > >