From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Eea8A-0001qi-El for qemu-devel@nongnu.org; Tue, 22 Nov 2005 10:32:26 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Eea86-0001ol-VW for qemu-devel@nongnu.org; Tue, 22 Nov 2005 10:32:24 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Eea85-0001oC-DB for qemu-devel@nongnu.org; Tue, 22 Nov 2005 10:32:21 -0500 Received: from [12.124.108.50] (helo=dash.soliddesign.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Eea85-0006Xm-Ce for qemu-devel@nongnu.org; Tue, 22 Nov 2005 10:32:21 -0500 Received: from fred.ofc.soliddesign.net (fred.ofc.soliddesign.net [10.2.3.177]) by dash.soliddesign.net (Postfix) with ESMTP id C39CB4EA18 for ; Tue, 22 Nov 2005 10:32:17 -0500 (EST) Subject: Re: [Qemu-devel] SMP support From: Joe Batt In-Reply-To: <43825F9E.3050103@bellard.org> References: <43825F9E.3050103@bellard.org> Content-Type: text/plain Date: Tue, 22 Nov 2005 10:32:17 -0500 Message-Id: <1132673537.2569.10.camel@fred.ofc.soliddesign.net> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org This qemu -smp 2 -cdrom KNOPPIX_V3.8-2005-02-28-CeBIT_Edition-qemu-0.6.1-2.iso fails, but work fine without the -smp flag. The KNOPPIX has fairly random seg faults. I had similar results with 4 virutal cpus. The host is a dual Xeon with hyperthreading turned on (so 4 total "CPUs") running Debian testing, and a custom 2.6.13 kernel. The compiler is gcc 3.3.5. You didn't offer up any description. Will this take advantage of host SMP? How? (Each of us could read the code, or you could save the collective a bunch of time...) Joe On Tue, 2005-11-22 at 01:00 +0100, Fabrice Bellard wrote: > Hi all, > > I just commited the code to emulate SMP targets. As an example, I added > support for x86 PCs with up to 8 CPUs (option -smp). > > There are still some optimisations to do regarding the scheduling and I > only tested the code with a Linux 2.4 guest OS. > > Happy testing :-) > > Fabrice. > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel -- Joe Batt