HomeFreeBSD

bhyve: Populate the device version from the backend

Description

bhyve: Populate the device version from the backend

The pci_xhci driver requires the USB device version to be known before
allocating a hub port. To support this, we split the original xHCI
initialization into two phases:

  1. Probe: Parse the nvlist and determine the device version.
  2. Init: Complete initialization and set up the softc details.

This change ensures proper hub port allocation based on accurate device
version.

Approved by: markj (mentor)
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D51478

Details

Provenance
aokblastAuthored on Jul 23 2025, 4:19 PM
Differential Revision
D51478: bhyve: populate device version from backend
Parents
rGbc598959090d: autofs: Plug memory leak
Branches
Unknown
Tags
Unknown