From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NF0RZ-0000lM-3x for qemu-devel@nongnu.org; Mon, 30 Nov 2009 02:13:09 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NF0RT-0000ii-7E for qemu-devel@nongnu.org; Mon, 30 Nov 2009 02:13:07 -0500 Received: from [199.232.76.173] (port=39208 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NF0RS-0000ic-VJ for qemu-devel@nongnu.org; Mon, 30 Nov 2009 02:13:03 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42044) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NF0RS-00015H-Lo for qemu-devel@nongnu.org; Mon, 30 Nov 2009 02:13:02 -0500 Date: Mon, 30 Nov 2009 09:12:57 +0200 From: Gleb Natapov Subject: Re: [Qemu-devel] Re: POST failure (loop) with isapc and seabios Message-ID: <20091130071257.GC30150@redhat.com> References: <20091124144044.GJ2999@redhat.com> <20091125060951.GA17203@shareable.org> <20091125122039.GM2999@redhat.com> <20091126064533.GR2999@redhat.com> <3A1982E342544524818CFCCFDED95D95@FSCPC> <20091127074420.GA6251@redhat.com> <2EAF309192074B629F26764ACD87ADFE@FSCPC> <20091129082024.GA30150@redhat.com> <14822EE0-7526-4E6E-99BD-28B9D61C66AA@claunia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14822EE0-7526-4E6E-99BD-28B9D61C66AA@claunia.com> List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Natalia Portillo Cc: qemu-devel@nongnu.org On Sun, Nov 29, 2009 at 10:53:40PM +0000, Natalia Portillo wrote: > >> > >We already concluded that "return to PM by triple fault" is not > >something > >we want to support. It was needed only on 286 and QEMU doesn't even > >support 286 cpu emulation. > > It is used by a whole kind of operating systems (all the 16-bit OS/2 > tree) and who knows by how many DOS extenders. I suppose none. But if you know any please mansion it by name here. Note that is should support i386 CPU since QMEU does not emulate i286. I386 has native way to switch to PM, no need triple fault trick and it was introduced by Intel in 1985. For those who wanted to be compatible with 286 there was a trick invented back then to switch to PM in a portable way between i386 and i286: http://www.rcollins.org/ftp/source/3fault/reset.asm I doubt that OS/2 was not updated to use something like this. > It is supported by Pentium processors, so it should be by QEMU, no > matter it does not emulate the 286 but a later CPU. Most chipsets can be configured to do full reset on CPU shutdown cycle. You simple can't rely on certain behaviour of triple fault. BTW QEMU today does full reset on triple fault and I haven't noticed any complains. -- Gleb.