From patchwork Tue Nov 27 22:00:19 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alex Williamson X-Patchwork-Id: 202313 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id C7DB92C0168 for ; Wed, 28 Nov 2012 09:27:37 +1100 (EST) Received: from localhost ([::1]:60408 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdTct-00076C-S8 for incoming@patchwork.ozlabs.org; Tue, 27 Nov 2012 17:27:35 -0500 Received: from eggs.gnu.org ([208.118.235.92]:48207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdTcm-00075w-Og for qemu-devel@nongnu.org; Tue, 27 Nov 2012 17:27:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdTck-0000j5-RY for qemu-devel@nongnu.org; Tue, 27 Nov 2012 17:27:28 -0500 Received: from mx1.redhat.com ([209.132.183.28]:5806) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdTck-0000it-Jq for qemu-devel@nongnu.org; Tue, 27 Nov 2012 17:27:26 -0500 Received: from int-mx02.intmail.prod.int.phx2.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id qARMRORb014079 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 27 Nov 2012 17:27:25 -0500 Received: from bling.home (ovpn-113-71.phx2.redhat.com [10.3.113.71]) by int-mx02.intmail.prod.int.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id qARM0J1I003940; Tue, 27 Nov 2012 17:00:36 -0500 To: qemu-devel@nongnu.org From: Alex Williamson Date: Tue, 27 Nov 2012 15:00:19 -0700 Message-ID: <20121127220019.5751.12624.stgit@bling.home> In-Reply-To: <20121127215203.5751.6523.stgit@bling.home> References: <20121127215203.5751.6523.stgit@bling.home> User-Agent: StGit/0.16 MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.67 on 10.5.11.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: kvm@vger.kernel.org Subject: [Qemu-devel] [RFC PATCH 1/4] kvm: Stub kvm_irqchip_update_msi_route X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Its friends are already stubbed out, add this one too so vfio can call it without wrapping it in #ifdefs. Signed-off-by: Alex Williamson --- kvm-all.c | 5 +++++ kvm-stub.c | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/kvm-all.c b/kvm-all.c index 3bc3347..93e9f0e 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1179,6 +1179,11 @@ int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg) return -ENOSYS; } +int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg) +{ + return -ENOSYS; +} + static int kvm_irqchip_assign_irqfd(KVMState *s, int fd, int virq, bool assign) { abort(); diff --git a/kvm-stub.c b/kvm-stub.c index a3455e2..3a3bf85 100644 --- a/kvm-stub.c +++ b/kvm-stub.c @@ -127,6 +127,11 @@ int kvm_irqchip_add_msi_route(KVMState *s, MSIMessage msg) return -ENOSYS; } +int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg) +{ + return -ENOSYS; +} + void kvm_irqchip_release_virq(KVMState *s, int virq) { }