From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KD3bC-0004U8-BN for qemu-devel@nongnu.org; Sun, 29 Jun 2008 16:34:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KD3bA-0004S3-Hc for qemu-devel@nongnu.org; Sun, 29 Jun 2008 16:34:13 -0400 Received: from [199.232.76.173] (port=41302 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KD3bA-0004Rw-Cy for qemu-devel@nongnu.org; Sun, 29 Jun 2008 16:34:12 -0400 Received: from mail.codesourcery.com ([65.74.133.4]:53961) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KD3bA-0007Xb-6m for qemu-devel@nongnu.org; Sun, 29 Jun 2008 16:34:12 -0400 From: Paul Brook Subject: Re: [Qemu-devel] [PATCH 1/3] Change qemu_set_irq() to return status information. Date: Sun, 29 Jun 2008 21:34:08 +0100 References: <20080629140120.5626.1590.stgit@gleb-debian.qumranet.com.qumranet.com> <200806291911.02093.paul@codesourcery.com> <20080629194412.GA17476@minantech.com> In-Reply-To: <20080629194412.GA17476@minantech.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200806292134.08436.paul@codesourcery.com> 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 Cc: Gleb Natapov > The model takes into account that not all interrupt controller are > capable to detect missed interrupt (it is possible that there is no > interrupt controller at all). In this case irq function should > return one and everything will fall back to how it works now. On a related note the correct way to fix this is "-icount auto". You should make sure that your hacks are not enabled when we have a realistic virtual timebase. Paul