From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCHv2 0/4] decouple vcpu index from apic id Date: Wed, 10 Jun 2009 18:41:39 +0300 Message-ID: <4A2FD433.1000204@redhat.com> References: <1244552189-17299-1-git-send-email-gleb@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Gleb Natapov Return-path: Received: from mx2.redhat.com ([66.187.237.31]:59822 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752052AbZFJPlm (ORCPT ); Wed, 10 Jun 2009 11:41:42 -0400 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 n5AFfjMY021107 for ; Wed, 10 Jun 2009 11:41:45 -0400 In-Reply-To: <1244552189-17299-1-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Gleb Natapov wrote: > Currently vcpu_id is used as an index into vcpus array and as apic id > on x86. This is incorrect since apic ids not have to be continuous > (they can also encode cpu hierarchy information) and may have values > bigger then vcpu array in case of x2apic. This series removes use of > vcpu_id as vcpus array index. Each architecture may use it how it sees > fit. x86 uses it as apic id. > > v2: > remove online_vcpus from ia64 in patch 3/4 > introduce KVM_APIC_ARCHITECTURE config option > > Gleb Natapov (4): > Introduce kvm_vcpu_is_bsp() function. > Use pointer to vcpu instead of vcpu_id in timer code. > Break dependency between vcpu index in vcpus array and vcpu_id. > Use macro to iterate over vcpus. > > Applied, thanks. -- error compiling committee.c: too many arguments to function