From: "Michael S. Tsirkin" Subject: [PATCH 0/2] kvm: fix spurious interrupt with irqfd Date: Wed, 13 Jan 2010 19:12:22 +0200 Message-ID: <20100113171222.GA19798@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Davide Libenzi , "Michael S. Tsirkin" , Avi Kivity , kvm@vger.kernel.org, Linux Kernel Mailing List Return-path: Content-Disposition: inline Sender: linux-kernel-owner@vger.kernel.org List-Id: kvm.vger.kernel.org Deassigning irqfd and assigning back caused spurious interrupt. fix this by clearing the counter on deassign. This is on top of davidel's patch which makes clearing eventfd counter from modules possible. Michael S. Tsirkin (2): kvm: fix spurious interrupt with irqfd kvm: do not store wqh in irqfd virt/kvm/eventfd.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-)