All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: chen huacai <zltjiangshi@gmail.com>
Cc: qemu-devel@nongnu.org
Subject: [Qemu-devel] Re: [BUG?] Problem when emulate mips target on mips host
Date: Sun, 18 Jul 2010 20:31:30 +0200	[thread overview]
Message-ID: <20100718183130.GD26579@hall.aurel32.net> (raw)
In-Reply-To: <AANLkTildzdzDh55B2YchM-Cg1wnxB33_iQYv7fRSafsC@mail.gmail.com>

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 <aurelien@aurel32.net> 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

      reply	other threads:[~2010-07-18 18:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-15 14:35 [Qemu-devel] [BUG?] Problem when emulate mips target on mips host chen huacai
2010-07-15 15:00 ` [Qemu-devel] " Aurelien Jarno
2010-07-16 11:07   ` chen huacai
2010-07-16 12:27     ` Aurelien Jarno
2010-07-18  1:53       ` chen huacai
2010-07-18 18:31         ` Aurelien Jarno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100718183130.GD26579@hall.aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    --cc=zltjiangshi@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.