From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:53161) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrVs1-0006I7-3g for qemu-devel@nongnu.org; Wed, 18 Jul 2012 11:08:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrVru-0000p6-Ca for qemu-devel@nongnu.org; Wed, 18 Jul 2012 11:08:57 -0400 Received: from e06smtp13.uk.ibm.com ([195.75.94.109]:59262) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrVrt-0000oa-WE for qemu-devel@nongnu.org; Wed, 18 Jul 2012 11:08:50 -0400 Received: from /spool/local by e06smtp13.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 18 Jul 2012 16:08:49 +0100 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1307.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q6IF8llf2584820 for ; Wed, 18 Jul 2012 16:08:47 +0100 Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q6IF8kwP004101 for ; Wed, 18 Jul 2012 09:08:46 -0600 From: Stefan Hajnoczi Date: Wed, 18 Jul 2012 16:07:53 +0100 Message-Id: <1342624074-24650-27-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1342624074-24650-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1342624074-24650-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [RFC v9 26/27] msix: use upstream kvm_irqchip_set_irq() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Kevin Wolf , Anthony Liguori , Stefan Hajnoczi , kvm@vger.kernel.org, "Michael S. Tsirkin" , Khoa Huynh , Paolo Bonzini , Asias He Commit 9507e305ec54062fccc88fcf6fccf1898a7e7141 changed the kvm_set_irq() function to kvm_irqchip_set_irq(). Signed-off-by: Stefan Hajnoczi --- hw/msix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/msix.c b/hw/msix.c index 0ed1013..373017a 100644 --- a/hw/msix.c +++ b/hw/msix.c @@ -512,7 +512,7 @@ bool msix_try_notify_from_thread(PCIDevice *dev, unsigned vector) return false; } if (likely(kvm_enabled() && kvm_irqchip_in_kernel())) { - kvm_set_irq(dev->msix_irq_entries[vector].gsi, 1, NULL); + kvm_irqchip_set_irq(kvm_state, dev->msix_irq_entries[vector].gsi, 1); return true; } return false; -- 1.7.10.4