From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=46795 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pn4Pw-0007eY-C5 for qemu-devel@nongnu.org; Wed, 09 Feb 2011 02:24:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pn4Pv-0001l9-54 for qemu-devel@nongnu.org; Wed, 09 Feb 2011 02:24:48 -0500 Received: from lo.gmane.org ([80.91.229.12]:57359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pn4Pu-0001kI-Vl for qemu-devel@nongnu.org; Wed, 09 Feb 2011 02:24:47 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Pn4Ps-0003Gu-6k for qemu-devel@nongnu.org; Wed, 09 Feb 2011 08:24:44 +0100 Received: from 93-34-149-100.ip50.fastwebnet.it ([93.34.149.100]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2011 08:24:44 +0100 Received: from pbonzini by 93-34-149-100.ip50.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 09 Feb 2011 08:24:44 +0100 From: Paolo Bonzini Date: Wed, 09 Feb 2011 08:24:32 +0100 Message-ID: <4D524130.3040508@redhat.com> References: <1297185509-20996-1-git-send-email-pbonzini@redhat.com> <1297185509-20996-7-git-send-email-pbonzini@redhat.com> <4D51A67A.7080306@web.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4D51A67A.7080306@web.de> Subject: [Qemu-devel] Re: [CFT PATCH 06/12] exit round-robin vcpu loop if cpu->stopped is true List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 02/08/2011 09:24 PM, Jan Kiszka wrote: > Hmm, does this path actually trigger? If yes, does it happen to obsolete > the global exit_request hack? No idea, I wanted to make the initial work as mechanical as possible. By inspection, cpu_stop_current is doing cpu_single_env->stopped = 1; cpu_exit(cpu_single_env); without setting ->stop. (I'm changing that in patch 7, but I'm setting ->stop to 0, not 1). Paolo