From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH 1/3] kvm-s390: infrastructure to kick vcpus out of guest state Date: Thu, 28 May 2009 11:42:23 +0300 Message-ID: <4A1E4E6F.8050402@redhat.com> References: <1243251652-27617-1-git-send-email-ehrhardt@linux.vnet.ibm.com> <1243251652-27617-2-git-send-email-ehrhardt@linux.vnet.ibm.com> <20090525202248.GA7608@amt.cnet> <4A1BA233.6080504@linux.vnet.ibm.com> <20090528034412.GA6090@amt.cnet> <4A1E4468.1050309@linux.vnet.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Marcelo Tosatti , kvm@vger.kernel.org, borntraeger@de.ibm.com, cotte@de.ibm.com, heiko.carstens@de.ibm.com, schwidefsky@de.ibm.com To: Christian Ehrhardt Return-path: Received: from mx2.redhat.com ([66.187.237.31]:36712 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751965AbZE1IoT (ORCPT ); Thu, 28 May 2009 04:44:19 -0400 In-Reply-To: <4A1E4468.1050309@linux.vnet.ibm.com> Sender: kvm-owner@vger.kernel.org List-ID: Christian Ehrhardt wrote: >> So you _need_ a mechanism to kick all vcpus out of guest mode? >> > I have a mechanism to kick a vcpu, and I use it. Due to the fact that > smp_call_* don't work as kick for us the kick is an arch specific > function. > I hop ethat clarified this part :-) > You could still use make_all_vcpus_request(), just change smp_call_function_many() to your own kicker. -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.