From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/4] Introduce kvm_vcpu_is_bsp() function. Date: Mon, 08 Jun 2009 14:20:12 +0300 Message-ID: <4A2CF3EC.4050607@redhat.com> References: <1244453578-29857-1-git-send-email-gleb@redhat.com> <1244453578-29857-2-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, Carsten Otte , Hollis Blanchard , "Zhang, Xiantao" To: Gleb Natapov Return-path: Received: from mx2.redhat.com ([66.187.237.31]:48838 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754193AbZFHLUR (ORCPT ); Mon, 8 Jun 2009 07:20:17 -0400 In-Reply-To: <1244453578-29857-2-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Gleb Natapov wrote: > @@ -130,6 +130,7 @@ struct kvm { > int nmemslots; > struct kvm_memory_slot memslots[KVM_MEMORY_SLOTS + > KVM_PRIVATE_MEM_SLOTS]; > + struct kvm_vcpu *bsp_vcpu; > struct kvm_vcpu *vcpus[KVM_MAX_VCPUS]; > struct list_head vm_list; > struct kvm_io_bus mmio_bus; > The concept of bsp (boot processor) is limited IIUC to x86 and ia64, so please wrap with HAVE_KVM_IRQCHIP (which is a close approximation). Arch maintainers, please confirm. -- error compiling committee.c: too many arguments to function