Re: git: baf753cc196e - main - bhyve: Support other schemes for naming pass-through devices.
Date: Mon, 22 Aug 2022 17:34:10 UTC
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 <jhb@FreeBSD.org> >> AuthorDate: 2022-08-19 21:55:29 +0000 >> Commit: John Baldwin <jhb@FreeBSD.org> >> 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[<domain>:]<bus>:<slot>:<func>) 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