From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=49576 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OaYeL-0004Zh-In for qemu-devel@nongnu.org; Sun, 18 Jul 2010 14:31:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OaYeK-00036Q-FJ for qemu-devel@nongnu.org; Sun, 18 Jul 2010 14:31:41 -0400 Received: from hall.aurel32.net ([88.191.82.174]:59230) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OaYeK-00034t-As for qemu-devel@nongnu.org; Sun, 18 Jul 2010 14:31:40 -0400 Date: Sun, 18 Jul 2010 20:31:30 +0200 From: Aurelien Jarno Message-ID: <20100718183130.GD26579@hall.aurel32.net> References: <20100715150011.GS18814@hall.aurel32.net> <4C40503D.6090709@aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: Sender: Aurelien Jarno Subject: [Qemu-devel] Re: [BUG?] Problem when emulate mips target on mips host List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: chen huacai Cc: qemu-devel@nongnu.org On Sun, Jul 18, 2010 at 09:53:57AM +0800, chen huacai wrote: > Hmm, I know. But, why qemu only crashes on user-space code, not on kernel code? Probably because a lot more code is executed in user-space than in kernel mode. I have actually tried the current git tree, and it is indeed not working as I was expecting. Last time I tried, it was working correctly for me, it seems something has broken MIPS host support in the meanwhile. It was commit 60bf84cf4ce277e1212929f35674796888a681ce in case you want to try it. > On Fri, Jul 16, 2010 at 8:27 PM, Aurelien Jarno wrote: > > chen huacai a écrit : > >> Thank you for your information. > >> I'am a little confusing, cacheflush syscall you mentioned is in guest > >> or in host? > >> If you means syscall in guest, why x86 host can boot mips guest? > >> If you means syscall in host, why qemu-0.9.x doesn't crash? > >> > > > > On the host. I guess qemu-0.9.x doesn't crash, because it's not using > > TCG, so it doesn't write the code to memory the same way. > > > > -- > > Aurelien Jarno                          GPG: 1024D/F1BCDB73 > > aurelien@aurel32.net                 http://www.aurel32.net > > > > > > -- > Huacai Chen > -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net