From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LSqPc-0003js-Dp for qemu-devel@nongnu.org; Fri, 30 Jan 2009 05:15:48 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LSqPX-0003jf-PI for qemu-devel@nongnu.org; Fri, 30 Jan 2009 05:15:46 -0500 Received: from [199.232.76.173] (port=33720 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LSqPX-0003jc-Ch for qemu-devel@nongnu.org; Fri, 30 Jan 2009 05:15:43 -0500 Received: from mx2.redhat.com ([66.187.237.31]:58704) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LSqPW-0001Kk-W7 for qemu-devel@nongnu.org; Fri, 30 Jan 2009 05:15:43 -0500 Date: Fri, 30 Jan 2009 15:45:53 +0530 From: Amit Shah Subject: Re: [Qemu-devel] [PATCH 0/4] Improve cpuid x86 code. Message-ID: <20090130101553.GB25998@amit-x200.pnq.redhat.com> References: <1233249569-16686-1-git-send-email-glommer@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1233249569-16686-1-git-send-email-glommer@redhat.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com On (Thu) Jan 29 2009 [12:19:25], Glauber Costa wrote: > Hey, > > This is a resend of the cpuid patches, following Anthony's last > suggestion. It proved to lead to a much better code IMHO. > > I'm also using the existing host_cpuid function to mask out features, > but now relying on kvm's provided ioctl. This seem to provide the expected > behavior. I had submitted patches previously to convert to get_cpuid2. If Anthony has them in his queue, we're going to have clashes. My patches add full support for cupid functions 4, 0xb and 0xd that's missing currently. I also have a patch ready for function 2; guess I'll send them after this stuff is in.