From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] kvm-userspace: fix compilation w/out KVM_CAP_MP_STATE Date: Wed, 21 May 2008 18:17:58 +0300 Message-ID: <48343D26.5000000@qumranet.com> References: <20080521012423.GT30402@sequoia.sous-sol.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Chris Wright Return-path: Received: from bzq-179-150-194.static.bezeqint.net ([212.179.150.194]:45877 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1763362AbYEUPSA (ORCPT ); Wed, 21 May 2008 11:18:00 -0400 In-Reply-To: <20080521012423.GT30402@sequoia.sous-sol.org> Sender: kvm-owner@vger.kernel.org List-ID: Chris Wright wrote: > Add kvm_reset_mpstate inline function and only call it when > KVM_CAP_MP_STATE is defined. > > qemu/qemu-kvm-x86.c:677: error: unknown field `mp_state' specified in initializer > qemu/qemu-kvm-x86.c:677: error: `KVM_MP_STATE_UNINITIALIZED' undeclared (first use in this function) > ... > > Applied, thanks. -- error compiling committee.c: too many arguments to function