From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 3/4] Break dependency between vcpu index in vcpus array and vcpu_id. Date: Mon, 08 Jun 2009 14:23:13 +0300 Message-ID: <4A2CF4A1.2030603@redhat.com> References: <1244453578-29857-1-git-send-email-gleb@redhat.com> <1244453578-29857-4-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]:44971 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753444AbZFHLXN (ORCPT ); Mon, 8 Jun 2009 07:23:13 -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 n58BNFCf017196 for ; Mon, 8 Jun 2009 07:23:15 -0400 In-Reply-To: <1244453578-29857-4-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: Gleb Natapov wrote: > Archs are free to use vcpu_id as they see fit. For x86 it is used as > vcpu's apic id. New ioctl is added to configure boot vcpu id that was > assumed to be 0 till now. > > @@ -2284,6 +2291,7 @@ static long kvm_dev_ioctl_check_extension_generic(long arg) > case KVM_CAP_USER_MEMORY: > case KVM_CAP_DESTROY_MEMORY_REGION_WORKS: > case KVM_CAP_JOIN_MEMORY_REGIONS_WORKS: > + case KVM_CAP_SET_BOOT_CPU_ID: > return 1; > #ifdef CONFIG_HAVE_KVM_IRQCHIP > case KVM_CAP_IRQ_ROUTING: > Predicate on HAVE_KVM_IRQCHIP (or a new symbol if it turns out it's more appropriate). -- error compiling committee.c: too many arguments to function