Page MenuHomeFreeBSD

More error messages for passthru.
ClosedPublic

Authored by jhb on Apr 18 2016, 10:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jul 26, 12:40 AM
Unknown Object (File)
Tue, Jul 23, 4:57 PM
Unknown Object (File)
Jun 8 2024, 4:11 PM
Unknown Object (File)
May 28 2024, 10:49 PM
Unknown Object (File)
May 27 2024, 12:50 PM
Unknown Object (File)
May 6 2024, 10:14 PM
Unknown Object (File)
Apr 25 2024, 9:15 AM
Unknown Object (File)
Apr 19 2024, 8:59 AM
Subscribers

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 - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

jhb retitled this revision from to More error messages for passthru..
jhb updated this object.
jhb edited the test plan for this revision. (Show Details)
jhb added reviewers: grehan, neel.
neel edited edge metadata.

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.