From nobody Mon Oct 17 15:42:13 2022 X-Original-To: dev-commits-src-branches@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Mrh7n48xVz4gDRb; Mon, 17 Oct 2022 15:42:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Mrh7n3Vdrz3QPK; Mon, 17 Oct 2022 15:42:13 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666021333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3jzgvAEX8n+Hr0XSiKqjv87t2+0EkbKy47L0gICXiJc=; b=VkPoH41M2dQIxgC8gYk67gdjBmgMWHKUZEHbG6742+NWI1aZG0owMW7ExQ5/JItPxeaHTa iN6Y2IhNkI7ZD7D21x+BPliHP/5lGn56at/C9m75Kz6SPd5dGpTdly++Ltzdyj5s2Ki1xc JMbNmF4P5XqM9bxgzFaQkGKIjxh+5LgBgxwVvzD6ElZLZJtgyO50DH2WrdCtTJfVQQoO+T dE6x64t0H9CGhpTteYPFADwvw2F3JOnZb9fmgMaMRWOW4BlRctMkSxnchJkQCbU0jRuOBE YYsm9X9Md1Xo+iPV2uOT4E9mDdFaxT1LrCW7ss7PAB8cVBFZK49IWm8HdMIHew== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Mrh7n2Vc8zsg4; Mon, 17 Oct 2022 15:42:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 29HFgDEE019322; Mon, 17 Oct 2022 15:42:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 29HFgDSX019321; Mon, 17 Oct 2022 15:42:13 GMT (envelope-from git) Date: Mon, 17 Oct 2022 15:42:13 GMT Message-Id: <202210171542.29HFgDSX019321@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: cbb6ca72525d - stable/13 - bhyve: Make pci_bars local to pci_emul.c List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: cbb6ca72525daf7f1ab6c2819853e650131f9fbc Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1666021333; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=3jzgvAEX8n+Hr0XSiKqjv87t2+0EkbKy47L0gICXiJc=; b=ZxYhTD7iOU3KCAbC801Kuy+2QVSk7xwUh5TOj4siqqkF0nIGedrjuNU3LqzkhCqv/4Mt26 krll6lGRP3AmqP6JsaKkK1ATbkL0D9sMoCkHvzHrHUutKTZCEEoFUOwKifQLB1hYxuIUGB olnPfM/Eivr7AvhE/wETMkWlbBoG7AE4x38D8G6r1asFK38/fSAHqTirmxxXntXpOQEtvD p85wUpX+uRHQAA9gbQwYoPojH9oGN54/Prpjay6u7IMgdN3WBtTWrpCN5fdsGjTREt3GLA J+hzsCW3AgAyVctuHf1YyZYW9FoWceL7rKjo3c9VOZH7CnlQ3W97uWfsvFP3cw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1666021333; a=rsa-sha256; cv=none; b=Ny9/lXvF0m9I7Zhws1t2SLSmwcgGxHX+4Cmn/9yEWIvmVsrxNcrBqADei3I3dj8OUU5aEw eNGig22vugstV5dD2y1eQGlL2q4rGimQbqKMdE4wUM/nDhDW6KeEIJNHVeP8DSN93wvocK iCwPA/3ChBdO5ugXjEbjNJXLqw8Utfe1Yd+Cfi+IbHynMk9Gp7csnSYLSZmT2jcOVv9o0+ /BaS+PIBoVjiILbC7qa0YKynpY2Cfq7hkh6a7fzR25+UhCfummza6Wg3KvftnwbRQNnfW9 0Wb/E8jLElw2FheqyRJpMUgGAw4xInOYDTAkp/z3fj00OkyPwU6y2g3f7UYMLQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=cbb6ca72525daf7f1ab6c2819853e650131f9fbc commit cbb6ca72525daf7f1ab6c2819853e650131f9fbc Author: Mark Johnston AuthorDate: 2022-10-08 15:26:25 +0000 Commit: Mark Johnston CommitDate: 2022-10-17 15:41:32 +0000 bhyve: Make pci_bars local to pci_emul.c (cherry picked from commit 07d82562d8740bd53603b4f7e0780403ae835333) --- usr.sbin/bhyve/pci_emul.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/usr.sbin/bhyve/pci_emul.c b/usr.sbin/bhyve/pci_emul.c index c1a21c6d03d4..bf7563871fe6 100644 --- a/usr.sbin/bhyve/pci_emul.c +++ b/usr.sbin/bhyve/pci_emul.c @@ -116,8 +116,9 @@ struct pci_bar_allocation { enum pcibar_type type; uint64_t size; }; -TAILQ_HEAD(pci_bar_list, pci_bar_allocation) pci_bars = TAILQ_HEAD_INITIALIZER( - pci_bars); + +static TAILQ_HEAD(pci_bar_list, pci_bar_allocation) pci_bars = + TAILQ_HEAD_INITIALIZER(pci_bars); #define PCI_EMUL_IOBASE 0x2000 #define PCI_EMUL_IOLIMIT 0x10000