Message ID | 1544628195-37728-27-git-send-email-pbonzini@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AA6673E9D for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 12 Dec 2018 15:40:51 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9C8D72AF6B for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 12 Dec 2018 15:40:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 910FF2B15D; Wed, 12 Dec 2018 15:40:51 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.7 required=2.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 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.wl.linuxfoundation.org (Postfix) with ESMTPS id 404C42B1AE for <patchwork-qemu-devel@patchwork.kernel.org>; Wed, 12 Dec 2018 15:40:51 +0000 (UTC) Received: from localhost ([::1]:45651 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1gX6d0-0006oC-FB for patchwork-qemu-devel@patchwork.kernel.org; Wed, 12 Dec 2018 10:40:50 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52283) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1gX6MZ-0000qR-JE for qemu-devel@nongnu.org; Wed, 12 Dec 2018 10:23:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1gX6MY-0000Fd-0m for qemu-devel@nongnu.org; Wed, 12 Dec 2018 10:23:51 -0500 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:33923) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <paolo.bonzini@gmail.com>) id 1gX6MX-0000CR-J3 for qemu-devel@nongnu.org; Wed, 12 Dec 2018 10:23:49 -0500 Received: by mail-wr1-x42d.google.com with SMTP id j2so18126715wrw.1 for <qemu-devel@nongnu.org>; Wed, 12 Dec 2018 07:23:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:subject:date:message-id:in-reply-to:references; bh=w1ktP9NxHWVMYQyBMXY8XYdqqIe0z8644XEAj9LTTkY=; b=isVQgtF5ko8vobvVeTfvyM+U6UHRTb/c7l8o6nntrpF33aggC/KLjsxLKaLtSYWyvz zm2b4SNYH9sqKJzp0Oq5uIHVAN66yKBAneIqQeiz0NaaP1fCWXNfnUYTYX4LWUSUPsaj CRGnpyy+5u3xoyiaMlTdn1a66BByXg8hZCIiXcADj22U8ffTzIcx88SVNa6CMzsjjpDD xIWrPbmIAXPHAr2CLyT/kN3U0k6ZvnuVGsVxJXr16idYQTKDn/JlszotcDjxXOucismi yyduisnNXwxHh4NSsHQziwPX2FyB0/vfeHhHjU4kee6dBXW7ja4NtDSM3DKSkndgpIpC byMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:subject:date:message-id :in-reply-to:references; bh=w1ktP9NxHWVMYQyBMXY8XYdqqIe0z8644XEAj9LTTkY=; b=gOU30Y6SSVVg3s1yU3Ez/x4np/REk0+KsiBS1RQam5PCLX3PphRf0GxrzbDrgVE8iT 8UkHu2ps5vDAVkUr6D67u9ep6qm7M2e38IVMTtXRiilJ6QY2TSgCPjXKaDR7vVGlhCvY +YMM+xst+kIvc7gAVkLsLcFCqGmaMu6mpFqx7dCANHLjpSrHyhdHZ+/xhADVAtdsa/Tv 5oDrs9zPwoiW2hAlycBbYOfDKd6VY83oYNmpgwAM0ab+UDEmRQ4XSZqpWwr+FT6MgPUP tphzYI8JVs2oANArCm9AuOXnDBjxlWz1yOZ8KKj/9lEWecynM+lLyoxEF0HP1OeLvfHh aLEQ== X-Gm-Message-State: AA+aEWYsBSQAqnOcFA0YKlL8BkCveDPiqQ1F/+JES2DK4T0FZkJw3YMT PyOS4M8VEDIlnfSQdUvo8+1NPpyX X-Google-Smtp-Source: AFSGD/W3cXKupL+3kVqgCrKqqPMjy5cx8gkqxqFe5weRrzZZzyEL4BMWZQVUq9QoDAGR75ERHqfIOA== X-Received: by 2002:adf:eb45:: with SMTP id u5mr16719856wrn.102.1544628226266; Wed, 12 Dec 2018 07:23:46 -0800 (PST) Received: from 640k.lan ([93.56.166.5]) by smtp.gmail.com with ESMTPSA id u10sm15878859wrr.33.2018.12.12.07.23.45 for <qemu-devel@nongnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 12 Dec 2018 07:23:45 -0800 (PST) From: Paolo Bonzini <pbonzini@redhat.com> To: qemu-devel@nongnu.org Date: Wed, 12 Dec 2018 16:22:47 +0100 Message-Id: <1544628195-37728-27-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1544628195-37728-1-git-send-email-pbonzini@redhat.com> References: <1544628195-37728-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d Subject: [Qemu-devel] [PULL 26/54] vfio: make vfio_address_spaces static X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
Series |
[PULL,01/54] accel: Improve selection of the default accelerator
|
expand
|
diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 7c185e5a..7aa804e 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -39,7 +39,7 @@ struct vfio_group_head vfio_group_list = QLIST_HEAD_INITIALIZER(vfio_group_list); -struct vfio_as_head vfio_address_spaces = +static QLIST_HEAD(, VFIOAddressSpace) vfio_address_spaces = QLIST_HEAD_INITIALIZER(vfio_address_spaces); #ifdef CONFIG_KVM diff --git a/include/hw/vfio/vfio-common.h b/include/hw/vfio/vfio-common.h index 1b434d0..127ca47 100644 --- a/include/hw/vfio/vfio-common.h +++ b/include/hw/vfio/vfio-common.h @@ -181,7 +181,6 @@ int vfio_get_device(VFIOGroup *group, const char *name, extern const MemoryRegionOps vfio_region_ops; extern QLIST_HEAD(vfio_group_head, VFIOGroup) vfio_group_list; -extern QLIST_HEAD(vfio_as_head, VFIOAddressSpace) vfio_address_spaces; #ifdef CONFIG_LINUX int vfio_get_region_info(VFIODevice *vbasedev, int index,