Page MenuHomeFreeBSD

bhyve: ahci: Fix regression with no ports
ClosedPublic

Authored by freqlabs on Jan 20 2022, 6:42 PM.

Details

Summary

An AHCI controller may be specified with no connected ports. Avoid
dumping core in this case for compatibility with existing VM configs.

Fixes: 621b5090487de Refactor configuration management in bhyve.
MFC after: 1 week
Sponsored by: iXsystems, Inc.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint OK
Unit
No Unit Test Coverage
Build Status
Buildable 44015
Build 40903: arc lint + arc unit