]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Always emit an error message on passthru configuration errors.
authorjhb <jhb@FreeBSD.org>
Tue, 19 Apr 2016 20:43:05 +0000 (20:43 +0000)
committerjhb <jhb@FreeBSD.org>
Tue, 19 Apr 2016 20:43:05 +0000 (20:43 +0000)
commitb4f1b9497df7399096b4129b583427d839421d9f
tree943d154c6d4f9ff91bc7d1cdda6cd575f3124cdd
parent6847e425cb828ae36a211fae2764f57b7301f277
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.

Reviewed by: neel
Differential Revision: https://reviews.freebsd.org/D5990
usr.sbin/bhyve/pci_passthru.c