From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HWTF0-0001Po-Iz for qemu-devel@nongnu.org; Wed, 28 Mar 2007 04:10:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HWTEx-0001JM-LY for qemu-devel@nongnu.org; Wed, 28 Mar 2007 04:10:46 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HWTEx-0001It-DH for qemu-devel@nongnu.org; Wed, 28 Mar 2007 03:10:43 -0500 Received: from bozon2.softax.com.pl ([83.238.10.48]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HWTCV-0000WG-4P for qemu-devel@nongnu.org; Wed, 28 Mar 2007 04:08:11 -0400 Received: from bozon2.softax.pl (localhost.localdomain [127.0.0.1]) by bozon2.softax.com.pl (Postfix) with ESMTP id 5573EDC005 for ; Wed, 28 Mar 2007 10:08:01 +0200 (CEST) Received: from localhost (localhost.localdomain [127.0.0.1]) by bozon2.softax.com.pl (Postfix) with ESMTP id 3ACF4DC013 for ; Wed, 28 Mar 2007 10:08:01 +0200 (CEST) Received: from bozon2.softax.com.pl ([127.0.0.1]) by localhost (bozon2.softax.pl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 31370-10 for ; Wed, 28 Mar 2007 10:07:59 +0200 (CEST) Received: from [16.193.144.98] (unknown [16.193.144.98]) by bozon2.softax.com.pl (Postfix) with ESMTP id CCE28DC005 for ; Wed, 28 Mar 2007 10:07:59 +0200 (CEST) Message-ID: <460A23BD.8080605@softax.com.pl> Date: Wed, 28 Mar 2007 10:13:49 +0200 From: Sebastian Kaliszewski MIME-Version: 1.0 Subject: Re: [Qemu-devel] Patch: generate a DBF when a GPF could not be delivered on x86 References: <20070327114036.GD32622@silo.inf.tu-dresden.de> In-Reply-To: <20070327114036.GD32622@silo.inf.tu-dresden.de> Content-Type: text/plain; charset=ISO-8859-2; format=flowed 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 Bernhard Kauer wrote: > Qemu does not generate a double fault (DBF) on x86, if a general protection > fault could not be delivered. Instead it hangs in a loop. > > The patch fix this bug by checking whether we are already in a GPF exception. If you're at it, maybe add triple fault handling (ie exception if DBF handler) -- it should reset CPU. rgds -- Sebastian Kaliszewski