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)
Wed, Dec 4, 7:57 PM
Unknown Object (File)
Nov 13 2024, 5:47 AM
Unknown Object (File)
Oct 1 2024, 1:26 PM
Unknown Object (File)
Sep 19 2024, 5:58 AM
Unknown Object (File)
Sep 17 2024, 4:07 PM
Unknown Object (File)
Sep 12 2024, 2:05 AM
Unknown Object (File)
Sep 8 2024, 9:00 AM
Unknown Object (File)
Sep 8 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.