From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Gp7Aj-0002GW-Qm for qemu-devel@nongnu.org; Tue, 28 Nov 2006 12:55:10 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Gp7Ah-0002EA-IH for qemu-devel@nongnu.org; Tue, 28 Nov 2006 12:55:08 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Gp7Ag-0002DY-Oz for qemu-devel@nongnu.org; Tue, 28 Nov 2006 12:55:06 -0500 Received: from [212.227.126.188] (helo=moutng.kundenserver.de) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Gp7Af-0004k6-IT for qemu-devel@nongnu.org; Tue, 28 Nov 2006 12:55:06 -0500 Message-ID: <456C77F6.8000202@mail.berlios.de> Date: Tue, 28 Nov 2006 18:55:02 +0100 From: Stefan Weil MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH 2/6] A cumulative MIPS patchset References: <20061121143736.GC12745@networkno.de> In-Reply-To: <20061121143736.GC12745@networkno.de> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit 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 Hello Thiemo, my reboot patch for MIPS (http://lists.gnu.org/archive/html/qemu-devel/2006-09/msg00082.html) is only partially included in Daniel's patch. As far as I know, a MIPS triggers the reboot exception at power-on. (at least for MIPS 4KEc), so my patch uses the same code for reboot exception and power-on. Why do we need a special QEMU reset device in the Linux kernel? QEMU might emulate existing real reset devices as well... Stefan Thiemo Seufer schrieb: > Hello All, > > the attached patch is an update of Daniel's reboot/halt > implementation for the MIPS qemu. > > > Thiemo > > ------------------------------------------------------------------------ > > Date: Sat, 11 Nov 2006 20:02:40 -0500 > From: Daniel Jacobowitz > To: qemu-devel@nongnu.org > Subject: [Qemu-devel] MIPS halt / reboot > > The MIPS kernel already has a reset/halt device for qemu > (arch/mips/qemu/q-reset.c). I have no idea at all where this came > from, but hey, it seems sensible enough to me so I implemented it > in qemu. > > This requires a bit of additional mucking around, since MIPS doesn't > currently have any BIOS support, so I made the reset vector reload any > specified kernel and initrd. Works in my Debian rootfs; very handy for > automated benchmarking. > > > ------------------------------------------------------------------------ > > _______________________________________________ > Qemu-devel mailing list > Qemu-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/qemu-devel