From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:56236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T60Dk-0007bP-Jb for qemu-devel@nongnu.org; Mon, 27 Aug 2012 10:23:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T60Db-0005oB-37 for qemu-devel@nongnu.org; Mon, 27 Aug 2012 10:23:16 -0400 Received: from mail-ey0-f173.google.com ([209.85.215.173]:44249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T60Da-0005o3-Sp for qemu-devel@nongnu.org; Mon, 27 Aug 2012 10:23:07 -0400 Received: by eaac13 with SMTP id c13so1260326eaa.4 for ; Mon, 27 Aug 2012 07:23:06 -0700 (PDT) Sender: Paolo Bonzini Message-ID: <503B82C6.5080007@redhat.com> Date: Mon, 27 Aug 2012 16:23:02 +0200 From: Paolo Bonzini MIME-Version: 1.0 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> In-Reply-To: <87ehmsa18l.fsf@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Anthony Liguori Cc: Matthew Ogilvie , qemu-devel@nongnu.org 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? 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