From: Jan Kiszka Subject: [PATCH 0/3] apic: Fixes for userspace model Date: Mon, 9 Jul 2012 16:42:29 +0200 Message-ID: Cc: Gleb Natapov , Marcelo Tosatti , Avi Kivity , kvm , Anthony Liguori To: qemu-devel Return-path: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org Sender: qemu-devel-bounces+gceq-qemu-devel=gmane.org@nongnu.org List-Id: kvm.vger.kernel.org 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