]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve error message when failing to open a backing file
authorbapt <bapt@FreeBSD.org>
Fri, 27 May 2016 11:46:54 +0000 (11:46 +0000)
committerbapt <bapt@FreeBSD.org>
Fri, 27 May 2016 11:46:54 +0000 (11:46 +0000)
commit86a31183e9fc14e2204322878d7e9673be6a0c36
treee505aef4bd877a3a03405276ff2d48be8b2ee4fe
parentf43bd41470f19de61e12c5a268719673fd12da1a
Improve error message when failing to open a backing file

When bhyve cannot open a backing file, it now says explicitly which file
could not be opened

Note that the change has only be maed in block_if.c and not in
pci_virtio_block.c as the error will always be catched by the first

PR: 202321 (different patch)
Reviewed by: grehan
MFC after: 3 day
Sponsored by: Gandi.net
Differential Revision: https://reviews.freebsd.org/D6576
usr.sbin/bhyve/block_if.c