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 <[EMAIL PROTECTED]> > 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 _______________________________________________ Qemu-devel mailing list Qemu-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/qemu-devel