From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40763) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T61aF-0001Lt-QK for qemu-devel@nongnu.org; Mon, 27 Aug 2012 11:50:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T61aA-0006CS-7s for qemu-devel@nongnu.org; Mon, 27 Aug 2012 11:50:35 -0400 Received: from mail-ob0-f173.google.com ([209.85.214.173]:34118) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T61aA-0006Bm-2r for qemu-devel@nongnu.org; Mon, 27 Aug 2012 11:50:30 -0400 Received: by obbta14 with SMTP id ta14so7918153obb.4 for ; Mon, 27 Aug 2012 08:50:29 -0700 (PDT) From: Anthony Liguori In-Reply-To: <503B82C6.5080007@redhat.com> References: <1345703083-25322-1-git-send-email-mmogilvi_qemu@miniinfo.net> <1345703083-25322-7-git-send-email-mmogilvi_qemu@miniinfo.net> <87ehmsa18l.fsf@codemonkey.ws> <503B82C6.5080007@redhat.com> Date: Mon, 27 Aug 2012 10:50:25 -0500 Message-ID: <876284mj0e.fsf@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: Re: [Qemu-devel] [PATCH v2 6/6] i8259: add -no-spurious-interrupt-hack option List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Matthew Ogilvie , qemu-devel@nongnu.org Paolo Bonzini writes: > Il 27/08/2012 15:55, Anthony Liguori ha scritto: >>> > This patch provides a way to optionally suppress spurious interrupts, >>> > as a workaround for systems described below: >>> > >>> > Some old operating systems do not handle spurious interrupts well, >>> > and qemu tends to generate them significantly more often than >>> > real hardware. >> This is the wrong approach. You add a LostTickPolicy property to the >> i8259 device. > > Isn't the i8254 the one that would need a LostTickPolicy? You're right, I too quickly read this patch and misunderstood what it's doing. Regards, Anthony Liguori > > But this seems like a bug that is either in the i8259 emulation, or in > the firmware. Your own suggestion of setting IRQ2 to level-triggered in > SeaBIOS is definitely a good one. > > Paolo