From patchwork Wed Apr 6 10:16:22 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8760541 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 8D9A89F36E for ; Wed, 6 Apr 2016 10:16:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB7E7201D3 for ; Wed, 6 Apr 2016 10:16:58 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 518EC201BB for ; Wed, 6 Apr 2016 10:16:58 +0000 (UTC) Received: from localhost ([::1]:42157 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ankW9-0003s4-MF for patchwork-qemu-devel@patchwork.kernel.org; Wed, 06 Apr 2016 06:16:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:47268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ankVp-0003eC-M6 for qemu-devel@nongnu.org; Wed, 06 Apr 2016 06:16:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ankVl-0001o4-Tp for qemu-devel@nongnu.org; Wed, 06 Apr 2016 06:16:37 -0400 Received: from mail-wm0-x243.google.com ([2a00:1450:400c:c09::243]:33076) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ankVl-0001ny-Mb for qemu-devel@nongnu.org; Wed, 06 Apr 2016 06:16:33 -0400 Received: by mail-wm0-x243.google.com with SMTP id i204so11786081wmd.0 for ; Wed, 06 Apr 2016 03:16:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=MvgvATvRC2OmIcPIAQY8YpXsntgCSLhot5Pedhr25Dw=; b=LMXQw7zgtBOYENUDQoP13gAQIvcHS103p9s09+e11O2+kvJ1fOahvv8cd9fV4t24nK IMlLLA+JqC0EkndF/3qCNVfgHcogXhsnmH2GKlITEAjXMG2fFyaD6G3yCka/s6XjLzqs PJE0wknEyJhVOrgqUDq+Y9F4HsKtulEG6wbSYfEBlUjnl5zuFhESOjzo4qzl8F+/caVQ jpD7V4DbX+1Wp9wxd14OekPfI5A9mdB23lR54UfNsSgdGUAqC9hb5httRYnPMrXboz1c KEHdiMBt6fnyl5iKBQELJowqsAwS4vHDoASrtxaQnlOEm9flDiSeC/PGcoKIwJulZFd+ DfSg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=MvgvATvRC2OmIcPIAQY8YpXsntgCSLhot5Pedhr25Dw=; b=im0Qj3q/fJ2iIeC2DF2OofvNqB+aB4ke71gqvBtsmhq0D79cQ4zta0kefXJG3Nd1Ay N4PtI2Fcv6yppYXltSs8u/eY7ROSTaf3wqb6IT5BMLT79AppLwsIk+N+vmK3AUxTL8zD MRYs7IS1dz8y6pu7vJ60GipH7sXAaL+2FZeTAF+FTzWBJuStkmesgjvTpcIP39RJiXdU nntZnxLz17e/L417CivvRcv6J4auSQvirWg1dgCD2N3Se7sLpSj19CPSp3VKaqy9lKdl ALf+dG/F65VDIAYsEVBfcBKtE8DHiSf667CLu+fc1Gt8ygz0jzyuZhtAkbGTeFejgahN /M1A== X-Gm-Message-State: AD7BkJIqPBgP9VK6i+qvte7bMc0x6EXinWQfStEyuQ9RPSbkp5cmHhZ00U8NO1JjHJgmpw== X-Received: by 10.194.174.197 with SMTP id bu5mr10815913wjc.23.1459937793220; Wed, 06 Apr 2016 03:16:33 -0700 (PDT) Received: from 640k.lan (94-39-141-76.adsl-ull.clienti.tiscali.it. [94.39.141.76]) by smtp.gmail.com with ESMTPSA id u3sm24048429wmg.15.2016.04.06.03.16.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 06 Apr 2016 03:16:32 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Wed, 6 Apr 2016 12:16:22 +0200 Message-Id: <1459937788-31904-2-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1459937788-31904-1-git-send-email-pbonzini@redhat.com> References: <1459937788-31904-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::243 Cc: famz@redhat.com, tubo@linux.vnet.ibm.com, mst@redhat.com, borntraeger@de.ibm.com, stefanha@redhat.com, cornelia.huck@de.ibm.com Subject: [Qemu-devel] [PATCH 1/7] virtio: make virtio_queue_notify_vq static 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+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Acked-by: Cornelia Huck Signed-off-by: Paolo Bonzini --- hw/virtio/virtio.c | 2 +- include/hw/virtio/virtio.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/virtio/virtio.c b/hw/virtio/virtio.c index 14d5d91..264d4f6 100644 --- a/hw/virtio/virtio.c +++ b/hw/virtio/virtio.c @@ -1088,7 +1088,7 @@ void virtio_queue_set_align(VirtIODevice *vdev, int n, int align) virtio_queue_update_rings(vdev, n); } -void virtio_queue_notify_vq(VirtQueue *vq) +static void virtio_queue_notify_vq(VirtQueue *vq) { if (vq->vring.desc && vq->handle_output) { VirtIODevice *vdev = vq->vdev; diff --git a/include/hw/virtio/virtio.h b/include/hw/virtio/virtio.h index 2b5b248..5afb51c 100644 --- a/include/hw/virtio/virtio.h +++ b/include/hw/virtio/virtio.h @@ -252,7 +252,6 @@ void virtio_queue_set_host_notifier_fd_handler(VirtQueue *vq, bool assign, bool set_handler); void virtio_queue_aio_set_host_notifier_handler(VirtQueue *vq, AioContext *ctx, bool assign, bool set_handler); -void virtio_queue_notify_vq(VirtQueue *vq); void virtio_irq(VirtQueue *vq); VirtQueue *virtio_vector_first_queue(VirtIODevice *vdev, uint16_t vector); VirtQueue *virtio_vector_next_queue(VirtQueue *vq);