From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:41949) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1gER-00047a-3b for qemu-devel@nongnu.org; Wed, 15 Aug 2012 12:14:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T1gEP-0003sV-MD for qemu-devel@nongnu.org; Wed, 15 Aug 2012 12:14:07 -0400 Received: from mx1.redhat.com ([209.132.183.28]:12305) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T1gEP-0003sN-DI for qemu-devel@nongnu.org; Wed, 15 Aug 2012 12:14:05 -0400 From: Igor Mammedov Date: Wed, 15 Aug 2012 18:13:20 +0200 Message-Id: <1345047221-26898-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 00/21] target-i386: convert CPU features into properties List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, gleb@redhat.com, vijaymohan.pandarathil@hp.com, jan.kiszka@siemens.com, mtosatti@redhat.com, mdroth@linux.vnet.ibm.com, blauwirbel@gmail.com, avi@redhat.com, pbonzini@redhat.com, akong@redhat.com, lersek@redhat.com, afaerber@suse.de, ehabkost@redhat.com build and run tested in FC17 host with x86_64-linux-user, x86_64-softmmu targets changes since RFC are documented in idividual patch descriptions Thanks Andreas, Blue, Eduardo for reviews and suggestions. git tree for testing: https://github.com/imammedo/qemu/tree/x86-cpu-properties_v1 Igor Mammedov (21): 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 target-i386: cleanup cpu_x86_find_by_name(), only fill x86_def_t in it qapi/qapi-visit-core.c | 11 + qapi/qapi-visit-core.h | 2 + qapi/string-input-visitor.c | 22 ++ target-i386/cpu.c | 691 +++++++++++++++++++++++++++----------------- target-i386/cpu.h | 14 +- target-i386/helper.c | 9 +- 6 files changed, 479 insertions(+), 270 deletions(-) -- 1.7.11.2