From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KcBhX-0001Hn-1G for qemu-devel@nongnu.org; Sun, 07 Sep 2008 00:16:39 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KcBhU-0001HM-TF for qemu-devel@nongnu.org; Sun, 07 Sep 2008 00:16:38 -0400 Received: from [199.232.76.173] (port=43562 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KcBhU-0001HJ-JW for qemu-devel@nongnu.org; Sun, 07 Sep 2008 00:16:36 -0400 Received: from mail2.shareable.org ([80.68.89.115]:53448) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KcBhU-0003sf-2t for qemu-devel@nongnu.org; Sun, 07 Sep 2008 00:16:36 -0400 Received: from jamie by mail2.shareable.org with local (Exim 4.63) (envelope-from ) id 1KcBhS-0002HR-NS for qemu-devel@nongnu.org; Sun, 07 Sep 2008 05:16:34 +0100 Date: Sun, 7 Sep 2008 05:16:34 +0100 From: Jamie Lokier Subject: Re: [Qemu-devel] [PATCH] [ide] Check that asynchronous (DMA) submission succeeds Message-ID: <20080907041634.GC813@shareable.org> References: <18614.55228.190438.575778@mariner.uk.xensource.com> <48B70949.5040906@codemonkey.ws> <18615.50224.233594.405241@mariner.uk.xensource.com> <48C340FF.3000503@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <48C340FF.3000503@codemonkey.ws> 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 Anthony Liguori wrote: > I'll have to look more closely, but most of the code goes to great > lengths to use bottom halves to avoid the possibility of infinite > recursion. The concern with recursion is not CPU consumption, it's that > you'll eventually overrun the stack and potentially crash the QEMU process. (Completely unrelated: "qemu -net nic -net user -net user" will overrun the stack and crash the QEMU process as soon as the guest makes an external TCP connection.) -- Jamie