From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoFAd-0007sM-R9 for qemu-devel@nongnu.org; Mon, 09 Jul 2012 10:42:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SoFAb-0001GB-R9 for qemu-devel@nongnu.org; Mon, 09 Jul 2012 10:42:39 -0400 Received: from thoth.sbs.de ([192.35.17.2]:22197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SoFAb-0001FH-Gt for qemu-devel@nongnu.org; Mon, 09 Jul 2012 10:42:37 -0400 From: Jan Kiszka Date: Mon, 9 Jul 2012 16:42:29 +0200 Message-Id: Subject: [Qemu-devel] [PATCH 0/3] apic: Fixes for userspace model List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel Cc: Gleb Natapov , Marcelo Tosatti , Avi Kivity , kvm , Anthony Liguori As Avi noted recently, there is a problem in way we inject interrupts into the userspace APIC under KVM: The TRP check over the iothread may race with the VCPU raising the TPR value while in KVM mode. Patch 3 addresses this issue. The other two patches fix problems I came across while thinking about the first one. Who would like to process this series, up/master? Or should it go in directly? Jan Kiszka (3): apic: Resolve potential endless loop around apic_update_irq apic: Reevaluate pending interrupts on LVT_LINT0 changes apic: Defer interrupt updates to VCPU thread cpu-exec.c | 6 ++++++ hw/apic.c | 27 ++++++++++++++++++++++----- hw/apic.h | 1 + hw/apic_internal.h | 1 - target-i386/cpu.h | 4 +++- target-i386/kvm.c | 4 ++++ 6 files changed, 36 insertions(+), 7 deletions(-) -- 1.7.3.4