HomeFreeBSD

bhyve: add bus, slot and func to device name

Description

bhyve: add bus, slot and func to device name

Each device needs a unique identifier to store and restore snapshots
properly. Adding the pci bsf information to the device name creates a
unique identifier as a bsf can't be occupied twice.

Reviewed by: corvink
MFC after: 1 week
Sponsored by: vStack
Differential Revision: https://reviews.freebsd.org/D40107

Details

Provenance
gusev.vitaliy_gmail.comAuthored on May 15 2023, 2:28 PM
corvinkCommitted on Jun 19 2023, 5:57 AM
Reviewer
corvink
Differential Revision
D40107: bhyve: pci_devinst.pi_name should contain bus, slot, func
Parents
rGb10d65a420f0: bhyve: rename 'user_dev' with 'devices'
Branches
Unknown
Tags
Unknown