Received: from [140.186.70.92] (port=38492 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PhQuF-0002GP-Ry for qemu-devel@nongnu.org; Mon, 24 Jan 2011 13:12:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PhQuE-0004hQ-Kj for qemu-devel@nongnu.org; Mon, 24 Jan 2011 13:12:47 -0500 Received: from mailout-de.gmx.net ([213.165.64.23]:42152) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1PhQuE-0004h4-7g for qemu-devel@nongnu.org; Mon, 24 Jan 2011 13:12:46 -0500 From: =?utf-8?Q?Llu=C3=ADs?= Subject: Re: [Qemu-devel] Re: TCG flow vs dyngen References: <000001cbb58c$221f5a00$011aa8c0@side35ya3cah0n> <4D330D01.9060801@gmail.com> <4D33203B.6080505@gmail.com> <4D3340AB.60001@gmail.com> <4D335A31.2090105@gmail.com> <8762tnbv15.fsf@ginnungagap.bsc.es> <4D3D7138.9000304@gmail.com> <87zkqqv2yi.fsf@ginnungagap.bsc.es> <4D3D860B.5050502@gmail.com> <87aaiqtk7r.fsf@ginnungagap.bsc.es> <4D3DB57C.3090306@gmail.com> Date: Mon, 24 Jan 2011 19:12:31 +0100 In-Reply-To: <4D3DB57C.3090306@gmail.com> (Stefano Bonifazi's message of "Mon, 24 Jan 2011 18:23:08 +0100") Message-ID: <87hbcyqigg.fsf@ginnungagap.bsc.es> MIME-Version: 1.0 Content-Type: text/plain List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Stefano Bonifazi writes: > Hi! > Thank you for answering me! >> If I understand this correctly, the execution of one of your PPC cores >> is oblivious of the others (they share no guest physical memory). >> > No! They do share the same address space.. the way I am loading the different > qemu-ppc instances divides their namespaces allowing them to coexist, but they > share the same address space anyway (that is the same of the caller process > too), that is what I want for a communication. Sure, but each core runs a separate (guest) process. It's not that they are (guest) threads of the same (guest) application. > The problem is that they are at the same time oblivious of the others and each > of them wants to map its target binary at the same unique virtual address (again > see my last post about relocating target code).. Right. The important point here is that each qemu core runs a separate (guest) process. > I tried successfully the way of IPC (interprocess communication) having a > different qemu-ppc spawned by systemc as a process, then using shared memory and > signals for communicating.. pretty easy and well working, but the specs of my > project (university) do not let me using IPC.. That sounds silly, but there's no way out if this is in the rules of the project. >> [1] http://sites.google.com/site/hplabscotson/ > Thank you, I am a student of digital electronics, with not big knowledge about > developing in linux but this project is very interesting for my field.. some > sort of alternative to systemc if I understand fine! Thanks surely I'll have a > look at that! Well, if you don't know about avilable simulators, there's a plethora of them. From the top of my head, I can give you these other names: * SESC http://sesc.sourceforge.net/ * M5 http://www.m5sim.org/wiki/index.php/Main_Page * GEMS http://www.cs.wisc.edu/gems/ * SimpleScalar http://www.simplescalar.com/ * Graphite http://groups.csail.mit.edu/carbon/?page_id=111 Lluis -- "And it's much the same thing with knowledge, for whenever you learn something new, the whole world becomes that much richer." -- The Princess of Pure Reason, as told by Norton Juster in The Phantom Tollbooth