Page MenuHomeFreeBSD

More error messages for passthru.
ClosedPublic

Authored by jhb on Apr 18 2016, 10:25 PM.

Details

Summary

Always emit an error message on passthru configuration errors.

Previously, many errors (such as the PCI device not being attached
to the ppt(4) driver) resulted in bhyve silently exiting without
starting the virtual machine. Now any errors encountered when
configuring a virtual slot for a PCI passthru device should be noted
on stderr.

Test Plan
  • Try to pass through a device that doesn't exist or isn't attached to ppt(4).

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

jhb retitled this revision from to More error messages for passthru..Apr 18 2016, 10:25 PM
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: grehan, neel.
jhb updated this revision to Diff 15302.
neel edited edge metadata.Apr 19 2016, 6:13 PM
neel accepted this revision.

Looks good.

This revision is now accepted and ready to land.Apr 19 2016, 6:13 PM
This revision was automatically updated to reflect the committed changes.