From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:44546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLdcy-00019R-UC for qemu-devel@nongnu.org; Wed, 02 Nov 2011 12:25:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLdct-0008F1-R1 for qemu-devel@nongnu.org; Wed, 02 Nov 2011 12:25:24 -0400 Received: from lo.gmane.org ([80.91.229.12]:35348) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLdct-0008EX-Lf for qemu-devel@nongnu.org; Wed, 02 Nov 2011 12:25:19 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RLdcr-0003oh-HL for qemu-devel@nongnu.org; Wed, 02 Nov 2011 17:25:17 +0100 Received: from 93-34-200-62.ip51.fastwebnet.it ([93.34.200.62]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Nov 2011 17:25:17 +0100 Received: from pbonzini by 93-34-200-62.ip51.fastwebnet.it with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 02 Nov 2011 17:25:17 +0100 From: Paolo Bonzini Date: Wed, 02 Nov 2011 17:25:05 +0100 Message-ID: References: <4EB1640F.2090604@adacore.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit In-Reply-To: <4EB1640F.2090604@adacore.com> Subject: Re: [Qemu-devel] Multiple instances of Qemu on Windows multicore List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On 11/02/2011 04:38 PM, Fabien Chouteau wrote: > Hello fellow Qemu aficionados, > > On Windows, Qemu sets the affinity mask in order to run all thread on > CPU0, with this comment in the code (os-win32.c:182): > > /* Note: cpu_interrupt() is currently not SMP safe, so we force > QEMU to run on a single CPU */ > > This was added by Fabrice Bellard in 2006 (git show a8e5ac33d). > > I can't find/understand any reason for this CPU affinity restriction. Have you tried looking for a justification in the mailing lists? Also, I suppose you have tested without the affinity mask and it works? Offhand I cannot think of why that would be needed. Paolo