From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GEp8t-0005ex-Eq for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:23:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GEp8q-0005aa-M7 for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:23:14 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GEp8q-0005aL-Ff for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:23:12 -0400 Received: from [66.249.82.239] (helo=wx-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GEpG1-0004UF-U5 for qemu-devel@nongnu.org; Sun, 20 Aug 2006 11:30:38 -0400 Received: by wx-out-0506.google.com with SMTP id r21so1263857wxc for ; Sun, 20 Aug 2006 08:23:11 -0700 (PDT) Message-ID: <3ed52ec0608200823y6e803330q8ece342dde16945e@mail.gmail.com> Date: Sun, 20 Aug 2006 23:23:11 +0800 From: S.P.T.Krishnan Subject: Re: [Qemu-devel] qemu dynamic translation (system design) question In-Reply-To: <5226555.1155980264507.JavaMail.www@wwinf1629> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <5226555.1155980264507.JavaMail.www@wwinf1629> 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 Hi Laurent, Thanks for the direction. I am just thinking. If I run a guest OS once and observe the blocks that are translated and may be reused. Then I again re-run the OS, can I expect the same blocks are translated ? i.e., is qemu consistent on how it partitions the asm into blocks on successive runs or the guest OS ? Note: in both cases the user doesn't interact with the Guest OS. It is up for, say 1 min and then shutdown in both runs. regards, Krishnan On 8/19/06, Laurent DESNOGUES wrote: > > b. Once a block is generated some ID should be assigned to it right ? > > in which src file it is stored ? > > c. The next time a src block with the same signature is encountered > > the cached host binary is used right ? -- How does qemu detect that > > is the same guest block ? md5sum or other fingerprinting methods ? > > Look in qemu-exec.c/tb_find_fast > > > Laurent > > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel >