qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)


From: Stefan Weil
Subject: [Qemu-devel] [BUG] QEMU crash during cpu reset (MIPS regression)
Date: Fri, 04 May 2007 22:12:10 +0200
User-agent: IceDove 1.5.0.10 (X11/20070329)

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 via email to

[Prev in Thread] Current Thread [Next in Thread]