From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWYeh-0005c8-ID for qemu-devel@nongnu.org; Mon, 09 Feb 2009 11:06:43 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWYeg-0005bF-1j for qemu-devel@nongnu.org; Mon, 09 Feb 2009 11:06:43 -0500 Received: from [199.232.76.173] (port=44560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWYef-0005b6-Qu for qemu-devel@nongnu.org; Mon, 09 Feb 2009 11:06:41 -0500 Received: from mx2.redhat.com ([66.187.237.31]:54481) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LWYef-0006cc-A8 for qemu-devel@nongnu.org; Mon, 09 Feb 2009 11:06:41 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n19G6cfR024237 for ; Mon, 9 Feb 2009 11:06:40 -0500 Message-ID: <4990548C.60706@redhat.com> Date: Mon, 09 Feb 2009 18:06:36 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [6567] KVM: Get all cpuid values from function 2 (Amit Shah) References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit 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 Anthony Liguori wrote: > Revision: 6567 > http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6567 > Author: aliguori > Date: 2009-02-09 15:50:36 +0000 (Mon, 09 Feb 2009) > > Log Message: > ----------- > KVM: Get all cpuid values from function 2 (Amit Shah) > > cpuid function 2 can have multiple values to describe cache behaviour. > Loop till we have fetched all the values. > Note that if we are rescheduled on another cpu, or if another process calls cpuid 2 during the loop on the same cpu, this will break. -- error compiling committee.c: too many arguments to function