From nobody Sat Oct 08 15:33:52 2022 X-Original-To: dev-commits-src-all@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 4Ml8NK36mzz4fZyJ; Sat, 8 Oct 2022 15:33:53 +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 4Ml8NK1Gn7z3tht; Sat, 8 Oct 2022 15:33:53 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665243233; 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=7XLVa1hxPox3K4zgvZ2NALga2tuHnj68fW9wGG1jBVk=; b=DvA+jPUeNRSxHe038fCvH9KnJrd+LOVEHwbSsGSt5t9PphzIh5lJ2oaDKoT7VnJS5ExMJO Q1+c1UF1om1BJZlTFjfVDbPBIirn0b5yLPiYwuEJ29IOFG4LW1+CnibUZkP9OXQKTPC7eT BK9tnNBtp1OXByXzZU0a2X4Fhhz9ruyCQ7W/Ai6rdieXQLrJjLpuSLzjeio1POYSKTUWyW IqTFp+93E1077MwoE077fgIiWiJ4PwkbFQAHp13yxL/+exEf/F8/Odm0V7OG0lXIFc5let 3iVD2gBwkwHPosPrX6zTBN3KvinQr6Wx4HphTDx9av30XWvCF4jEh6Z4fP+rAA== 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 4Ml8NK0HjgzyxF; Sat, 8 Oct 2022 15:33:53 +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 298FXqG8049603; Sat, 8 Oct 2022 15:33:52 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 298FXqmR049602; Sat, 8 Oct 2022 15:33:52 GMT (envelope-from git) Date: Sat, 8 Oct 2022 15:33:52 GMT Message-Id: <202210081533.298FXqmR049602@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 07d82562d874 - main - bhyve: Make pci_bars local to pci_emul.c List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@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/main X-Git-Reftype: branch X-Git-Commit: 07d82562d8740bd53603b4f7e0780403ae835333 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1665243233; 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=7XLVa1hxPox3K4zgvZ2NALga2tuHnj68fW9wGG1jBVk=; b=MJMr/kAHy7jtwEVDBQuMC3Nz78SYSnzH9YXq5keYNgt5PsYxZptG1d1L8niSSk1i97KooN B4k18Rzn/zz6zGUmJ8ehwqxyBqKUDJrDw+Uqd1YfxMtU/Y/r3l3znfnLlixJCJr/ZZD7QM J9yDEu5qFw29ZOYC8qPanrkZoFREHH/y21n/Qtp1s8DaY17tpmjYN7l3kp6xVnahtuvWOR VBWVm6Rd6+ZpgxQcxH8eX5wAajzEKB7Ogct89WgunJko+dgf6MgU4LocMwZ4UYZ/hV/WF9 +/nr2u8b5EUBfOxpbUwO+xNEZrPMjPA07j7DXN3I7L5WwZ0llLaRD3SH3bDspQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1665243233; a=rsa-sha256; cv=none; b=DwdYUIL6veOlRwPibVc2pv4Mcq/rIH0BMi1Pu1JWZkNDBZMuxcIG96IMPkxz8CAUaYHU04 Fh/OcRYAfKgCHutO8fydGXmzuBef4f+pbMKZQGbV+mdSfxVaCYNsjiVaWkUdm5VYI/4rV4 ckIrWk9g0iSHGwn/JsMc3VWbIzV8/maECMfcTBf1k6qfGCJMw6HBwTQCej9oYFbF/lxseL ffVTbxiNZyzMla/1/AR9TsF9LahNnpqPyzawTrCx71X+5W12su8kOv2gOOUwQrHKG8w2rn tbNH9u0R2js8SMEfdOLQsIJiZtkv2TjqES3VQWtSkmqusn0Z0aKVQNWQ0dK/ug== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=07d82562d8740bd53603b4f7e0780403ae835333 commit 07d82562d8740bd53603b4f7e0780403ae835333 Author: Mark Johnston AuthorDate: 2022-10-08 15:26:25 +0000 Commit: Mark Johnston CommitDate: 2022-10-08 15:33:42 +0000 bhyve: Make pci_bars local to pci_emul.c MFC after: 1 week --- 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 1b2f8b1a858e..2087c6597852 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