From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGaSN-0000Fz-Pm for qemu-devel@nongnu.org; Tue, 16 Jun 2009 11:20:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGaSI-0000Cg-TG for qemu-devel@nongnu.org; Tue, 16 Jun 2009 11:20:15 -0400 Received: from [199.232.76.173] (port=39774 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGaSI-0000CY-Fw for qemu-devel@nongnu.org; Tue, 16 Jun 2009 11:20:10 -0400 Received: from mx2.redhat.com ([66.187.237.31]:53754) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGaSI-0005or-4s for qemu-devel@nongnu.org; Tue, 16 Jun 2009 11:20:10 -0400 Message-ID: <4A37B7B9.5050105@redhat.com> Date: Tue, 16 Jun 2009 18:18:17 +0300 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] Register uhci_reset() callback. References: <20090611084808.GA19508@redhat.com> <200906111441.34151.paul@codesourcery.com> <20090611134656.GC19508@redhat.com> <200906111453.13421.paul@codesourcery.com> <20090611140054.GD19508@redhat.com> <20090611163803.GB12367@shareable.org> <20090611164045.GA954@redhat.com> <4A3674D9.9050607@redhat.com> <20090616150018.GE29040@shareable.org> In-Reply-To: <20090616150018.GE29040@shareable.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jamie Lokier Cc: Paul Brook , Gleb Natapov , qemu-devel@nongnu.org On 06/16/2009 06:00 PM, Jamie Lokier wrote: > Avi Kivity wrote: > >> On 06/11/2009 07:40 PM, Gleb Natapov wrote: >> >>>> Now, a CPU-only reset, such as triple fault on x86, that's a bit >>>> different. >>>> >>>> >>>> >>> On x86 triple fault wired to system reset. >>> >>> >> Some actually wire triple fault (shutdown) to init. It's pretty broken. >> > > That sounds useful, actually, for those 286 OSes which use > triple-fault to switch from protected mode to real mode. No need to > reinitialise all the hardware if it just restarts the CPU. > Ah, I remember now. But on modern hardware it breaks badly. Intel processors block INIT if vmx is enabled, and the rest of the hardware isn't reset so it could be dmaing all over the place. -- error compiling committee.c: too many arguments to function