From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ME48N-0000RQ-Jd for qemu-devel@nongnu.org; Tue, 09 Jun 2009 12:25:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ME48I-0000PN-Uq for qemu-devel@nongnu.org; Tue, 09 Jun 2009 12:25:11 -0400 Received: from [199.232.76.173] (port=43203 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ME48I-0000PF-QQ for qemu-devel@nongnu.org; Tue, 09 Jun 2009 12:25:06 -0400 Received: from mx2.redhat.com ([66.187.237.31]:37589) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1ME48I-0003ak-El for qemu-devel@nongnu.org; Tue, 09 Jun 2009 12:25:06 -0400 Message-ID: <4A2E8CDE.7050507@redhat.com> Date: Tue, 09 Jun 2009 19:25:02 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] provide cpu_index to env mapping References: <1244564118-428-1-git-send-email-glommer@redhat.com> In-Reply-To: <1244564118-428-1-git-send-email-glommer@redhat.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Glauber Costa Cc: aliguori@us.ibm.com, qemu-devel@nongnu.org Glauber Costa wrote: > There are some people interested in, given a cpu number, > pick its CPUState. KVM is an example, although not yet in tree. > This patch provides a way of doing that. > > I think it's better to migrate kvm towards using env as the handle instead of the cpu index. kvm will soon address lose its cpu numbering in favor of apic ids; and apic ids will not start from zero on large guests. -- error compiling committee.c: too many arguments to function