All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Weil <weil@mail.berlios.de>
To: QEMU Developers <qemu-devel@nongnu.org>
Subject: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)
Date: Fri, 04 May 2007 22:12:10 +0200	[thread overview]
Message-ID: <463B939A.1090508@mail.berlios.de> (raw)

Resetting a MIPS cpu currently does not work, because important
entries in env (CPUMIPSState) are filled with 0 at the
beginning of function cpu_reset.

At system start, these values are set in cpu_mips_register.

After reset, env->nb_tlb == 0 results in a division by zero
crash of QEMU.

We can either re-arrange the entries in CPUMIPSState
(move those which must not be zero'ed to the end), or
cpu_reset must call cpu_mips_register.

Which solution is better?

Stefan

             reply	other threads:[~2007-05-04 20:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04 20:12 Stefan Weil [this message]
2007-05-04 20:27 ` [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression) Paul Brook
2007-05-04 20:44   ` Stefan Weil
2007-05-04 20:27 ` Blue Swirl

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=463B939A.1090508@mail.berlios.de \
    --to=weil@mail.berlios.de \
    --cc=qemu-devel@nongnu.org \
    /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.