From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoCM6-00036h-Be for qemu-devel@nongnu.org; Tue, 11 Nov 2014 09:23:47 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XoCLx-0007aK-AE for qemu-devel@nongnu.org; Tue, 11 Nov 2014 09:23:38 -0500 Received: from mail-wg0-x236.google.com ([2a00:1450:400c:c00::236]:58711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XoCLx-0007a7-4E for qemu-devel@nongnu.org; Tue, 11 Nov 2014 09:23:29 -0500 Received: by mail-wg0-f54.google.com with SMTP id n12so11638840wgh.13 for ; Tue, 11 Nov 2014 06:23:28 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 11 Nov 2014 15:23:18 +0100 Message-Id: <1415715801-30782-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 0/3] apic: ExtINT fixes for QNX List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: rbilson@qnx.com Richard Bilson reported some QNX emulation bugs. I sent him offlist a prototype patch, that he commented on. The first patch here works around what is arguably a QNX bug, that is triggered by the last two patches; but it is better to avoid spurious HLT wakeups, so here it is. The last two patches are what Richard had tested, amended with a fix for Windows XP + KVM + QEMU apic. Richard, can you confirm that these patches work? Paolo Paolo Bonzini (3): apic: avoid getting out of halted state on masked PIC interrupts apic: fix loss of IPI due to masked ExtINT apic: fix incorrect handling of ExtINT interrupts wrt processor priority hw/intc/apic.c | 20 ++++++++++++-------- target-i386/cpu.c | 8 ++++++-- 2 files changed, 18 insertions(+), 10 deletions(-) -- 2.1.0