From nobody Mon Aug 22 17:34:10 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 4MBKGr4Z72z4ZCp5; Mon, 22 Aug 2022 17:34:12 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MBKGr4436z3VTW; Mon, 22 Aug 2022 17:34:12 +0000 (UTC) (envelope-from jhb@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661189652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fp7s+0vQ/iAvJdwQTL228ogtYXRL+oC2QY3hJclJ/jQ=; b=iDo8Q5Uyw02XPZ7aCYOn8FPnzmy8iPl0QavdwWVgfr26mxW+i/XTH63Mutsrfpte/JIl/b Zv/bJu6uDGh8cn9lKXcN8D9pbu3DrUtwLIjQneo+U75dPzAQ1rNphSSWs9Mf/9QgA7LfzU ofrRv5UjaKpdYXB7G2JKFk6ykSu/Ji4oDhLRLYlQ3m50nb2gJ/C5gac9l5VmA2LyDpF/mC hnFR8EjrkQFMID0i2XtSesaICUVguasBWvvUpLZC12oWjB4vtPVWglxxAH2Uf1ydHI9Azs KXnxfZ9MyWf5JYM9afQM9S1TERh1CDSx+M8I/uRGb3HYk2MIyXN+FKQ2uYHzHg== Received: from [10.0.1.4] (ralph.baldwin.cx [66.234.199.215]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) (Authenticated sender: jhb) by smtp.freebsd.org (Postfix) with ESMTPSA id 4MBKGq5x0BzXPr; Mon, 22 Aug 2022 17:34:11 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Message-ID: Date: Mon, 22 Aug 2022 10:34:10 -0700 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 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: git: baf753cc196e - main - bhyve: Support other schemes for naming pass-through devices. Content-Language: en-US To: "Bjoern A. Zeeb" Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org References: <202208192225.27JMPXtu068474@gitrepo.freebsd.org> From: John Baldwin In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661189652; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=fp7s+0vQ/iAvJdwQTL228ogtYXRL+oC2QY3hJclJ/jQ=; b=WjoWZdmIMrevvq81PXwoGJqHxZqnvZPj4k3xTLZAwxGvhPuO4zob0sGftE20jHNTmGCEDo Vx3LJHZWMKmLcwG5XwLqKUnbDP3znWyJYfc6FLTA61Topqjsl5kkqMwOQ3y4cPvZUYXs9x SNsgQ69mmiEX4scJYbjBnq3GCKEjhZgmnj8Tf9BEU1w+ZDqUvp2ozDvAbiiglHemtMAdar N/G1MGkTJYXuF3Gw3xngXIBmwSpyaNAD1IgbX//4xnQjQgTtaqbnfahfsqF08WMRyKeV/V ISRmgDpu5cy/h/Ryh7+dZtSyEhjbFYzNLoqhZN5WDZ2TJkfvgI15AHw/wJgNvQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661189652; a=rsa-sha256; cv=none; b=qAysbyLqebDPBOhXhE21SWFnauvq0kq4vZSpL7CfnWi+vdFisSCh2vE26f/6bZDpAlxhEi B5rJCNsBvIDOvxKTUauW9QjT/grVxBwGV39TFDslVx2EZEyfqMfqxRLrItfU9QnTPdyoGB 0Z3o3XUCc6Dh3jYnBGsdB4rjDCRyAeVud2EMCbvruEvMSFdChz3+Wi+72eCCNLgPJGwbdz STOy9vCKmDN9ph6k1JjMHeAS/JfhGLfd40dycWgcXgly5pXBfY52RmLJNDwLgVYgouq2CR ZN3iUNAePtoqPGy8zHFvenXISI5StTKT22upuGj84eAnY18qTh40H0Btl9B9Cg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On 8/20/22 3:01 AM, Bjoern A. Zeeb wrote: > On Fri, 19 Aug 2022, John Baldwin wrote: > > Hi, > >> The branch main has been updated by jhb: >> >> URL: https://cgit.FreeBSD.org/src/commit/?id=baf753cc196e2308828c7fb9b0385d5fe17ecdc2 >> >> commit baf753cc196e2308828c7fb9b0385d5fe17ecdc2 >> Author: John Baldwin >> AuthorDate: 2022-08-19 21:55:29 +0000 >> Commit: John Baldwin >> CommitDate: 2022-08-19 21:58:55 +0000 >> >> bhyve: Support other schemes for naming pass-through devices. >> >> Permit naming pass through devices using the syntax accepted by >> pciconf (pci[:]::) as well as by device name >> (e.g. "ppt0"). > > Are there any plans for loader to also accept the new syntax so the > same value could be used throughout (despite it being longer)? The device name syntax doesn't make sense for the loader, but perhaps the 'pci*:*:*' one does. I never use the loader option myself since implementing 'devctl set driver' to switch devices into/out of pass through at runtime, so I don't have any active plans currently. I would be happy to review a patch to handle the pci* syntax though. -- John Baldwin