From patchwork Tue Jan 15 17:50:13 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Michael S. Tsirkin" X-Patchwork-Id: 212275 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 CBA5A2C00A4 for ; Wed, 16 Jan 2013 04:46:34 +1100 (EST) Received: from localhost ([::1]:52196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvAam-0003Yx-6W for incoming@patchwork.ozlabs.org; Tue, 15 Jan 2013 12:46:32 -0500 Received: from eggs.gnu.org ([208.118.235.92]:46742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvAac-0003Y2-74 for qemu-devel@nongnu.org; Tue, 15 Jan 2013 12:46:25 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvAaZ-0006wX-Nh for qemu-devel@nongnu.org; Tue, 15 Jan 2013 12:46:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:35719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvAaZ-0006wP-G9 for qemu-devel@nongnu.org; Tue, 15 Jan 2013 12:46:19 -0500 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r0FHkFmY004140 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 15 Jan 2013 12:46:15 -0500 Received: from redhat.com ([10.35.212.26]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r0FHkD9l015939; Tue, 15 Jan 2013 12:46:13 -0500 Date: Tue, 15 Jan 2013 19:50:13 +0200 From: "Michael S. Tsirkin" To: qemu-devel@nongnu.org, Anthony Liguori Message-ID: <20130115175012.GA9979@redhat.com> MIME-Version: 1.0 Content-Disposition: inline X-Scanned-By: MIMEDefang 2.68 on 10.5.11.25 X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.redhat.com id r0FHkFmY004140 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: Peter Maydell , Gleb Natapov , Jan Kiszka , Marcelo Tosatti , qemu-devel@nongnu.org, Andreas =?iso-8859-1?Q?F=E4rber?= Subject: [Qemu-devel] [PATCH] kvm: add stub for 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 ppc64 build needs this stub to build with virtio enabled. Signed-off-by: Michael S. Tsirkin Tested-by: Andreas Färber --- kvm-all.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/kvm-all.c b/kvm-all.c index fc0c6e7..bac67da 100644 --- a/kvm-all.c +++ b/kvm-all.c @@ -1182,6 +1182,11 @@ static int kvm_irqchip_assign_irqfd(KVMState *s, int fd, int virq, bool assign) { abort(); } + +int kvm_irqchip_update_msi_route(KVMState *s, int virq, MSIMessage msg) +{ + return -ENOSYS; +} #endif /* !KVM_CAP_IRQ_ROUTING */ int kvm_irqchip_add_irqfd_notifier(KVMState *s, EventNotifier *n, int virq)