Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DWy9O-000202-Mu for qemu-devel@nongnu.org; Sat, 14 May 2005 11:01:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DWy8X-0001SX-QR for qemu-devel@nongnu.org; Sat, 14 May 2005 11:01:12 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DWy8W-0001I3-Pu for qemu-devel@nongnu.org; Sat, 14 May 2005 11:01:04 -0400 Received: from [65.54.175.46] (helo=hotmail.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DWy1P-000794-Ni for qemu-devel@nongnu.org; Sat, 14 May 2005 10:53:43 -0400 Message-ID: In-Reply-To: <4285EC1E.4090904@bellard.org> From: "Blue Swirl" Date: Sat, 14 May 2005 16:46:21 +0200 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Subject: [Qemu-devel] Re: request : qemu-smp as target Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: fabrice@bellard.org Cc: qemu-devel@nongnu.org >SMP est definitely possible in QEMU - a few days of work are necessary to >add the missing generic support and an x86 implementation... but currently >I prefer to work an other topics. > >Just for your information, some choices need to be made: > >1) Do the CPUs share the same translation cache ? This could be very useful, but wouldn't the cache need to be indexed by physical addresses, not virtual? >2) The first implementation would use a cycle counter to schedule between >CPUs. Is it interesting to go further and to use a host thread for each >guest CPU at the expense of more locking overhead ? I'd skip the cycle counter at first iteration and schedule using a host timer and CPU idling. What are the things that need locking, by the way? _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/