From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gleb Natapov Subject: [PATCH 0/3] PIC fixes Date: Tue, 4 Aug 2009 15:30:26 +0300 Message-ID: <1249389029-12801-1-git-send-email-gleb@redhat.com> Cc: kvm@vger.kernel.org To: avi@redhat.com Return-path: Received: from mx2.redhat.com ([66.187.237.31]:57060 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755386AbZHDMab (ORCPT ); Tue, 4 Aug 2009 08:30:31 -0400 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n74CUWre004940 for ; Tue, 4 Aug 2009 08:30:32 -0400 Sender: kvm-owner@vger.kernel.org List-ID: Ack notifiers called at wrong time in PIC. kvm_vcpu_kick() can be called under spinlock now, so code can be simplified. Gleb Natapov (3): Call kvm_vcpu_kick() inside pic spinlock Call ack notifiers from PIC when guest OS acks an IRQ. Replace pic_lock()/pic_unlock() with direct call to spinlock functions. arch/x86/kvm/i8259.c | 64 +++++++++++++------------------------------------ arch/x86/kvm/irq.h | 1 - 2 files changed, 17 insertions(+), 48 deletions(-)