From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:58186) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SznYd-0005FO-L7 for qemu-devel@nongnu.org; Fri, 10 Aug 2012 07:39:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SznYZ-0006Kz-1T for qemu-devel@nongnu.org; Fri, 10 Aug 2012 07:39:11 -0400 Received: from mx4-phx2.redhat.com ([209.132.183.25]:56345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SznYY-0006Kk-QI for qemu-devel@nongnu.org; Fri, 10 Aug 2012 07:39:06 -0400 Date: Fri, 10 Aug 2012 07:39:03 -0400 (EDT) From: Igor Mammedov Message-ID: <392902682.8092175.1344598743114.JavaMail.root@redhat.com> In-Reply-To: <1344597756-2890-1-git-send-email-imammedo@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [RFC 00/20] 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, jan kiszka , 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 PS: forgot to add git tree for testing: https://github.com/imammedo/qemu/tree/x86-cpu-properties_RFC ----- Original Message ----- > From: "Igor Mammedov" > To: qemu-devel@nongnu.org > Cc: aliguori@us.ibm.com, stefanha@linux.vnet.ibm.com, gleb@redhat.com, "jan kiszka" , > 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 > 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 > > >