From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 4/4] Make cpu runnable after sipi Date: Sun, 13 Sep 2009 15:05:21 +0300 Message-ID: <4AACE001.5030303@redhat.com> References: <1252830613-2185-1-git-send-email-gleb@redhat.com> <1252830613-2185-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 mx1.redhat.com ([209.132.183.28]:60248 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001AbZIMMFU (ORCPT ); Sun, 13 Sep 2009 08:05:20 -0400 Received: from int-mx04.intmail.prod.int.phx2.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.17]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id n8DC5Ntq013793 for ; Sun, 13 Sep 2009 08:05:23 -0400 In-Reply-To: <1252830613-2185-4-git-send-email-gleb@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: On 09/13/2009 11:30 AM, Gleb Natapov wrote: > Signed-off-by: Gleb Natapov > --- > hw/apic.c | 3 +++ > 1 files changed, 3 insertions(+), 0 deletions(-) > > diff --git a/hw/apic.c b/hw/apic.c > index 11d4759..ac5e7ba 100644 > --- a/hw/apic.c > +++ b/hw/apic.c > @@ -534,6 +534,9 @@ void apic_sipi(CPUState *env) > env->segs[R_CS].limit, env->segs[R_CS].flags); > env->halted = 0; > s->wait_for_sipi = 0; > +#ifdef KVM_CAP_MP_STATE > + env->mp_state = KVM_MP_STATE_RUNNABLE; > +#endif > } > -no-kvm-irqchip shouldn't use mp_state at all (since really old kernels don't have this ioctl). -- error compiling committee.c: too many arguments to function