]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Provide a more direct interface to tell ZFS what the preferred handle
authorimp <imp@FreeBSD.org>
Fri, 15 Jun 2018 19:07:26 +0000 (19:07 +0000)
committerimp <imp@FreeBSD.org>
Fri, 15 Jun 2018 19:07:26 +0000 (19:07 +0000)
commit40b4dd02fe49a78c5496f012fefe886c20439da6
tree397391cfa00ba7d47ca84d99283fde4e8be2d3d3
parent6a4242c29ae8578ab60dcd111377efdfa24b1b9f
Provide a more direct interface to tell ZFS what the preferred handle
is. We tell the ZFS code now, and it checks rather than having a
callback to do the checks.

This will allow us to have a more graceful fallback code. In the
future, it's anticipated that we may fallback to a more global search
(or implement a command to do so) when reqeusted by the user, or we
detect a violation of the UEFI Boot Manager protocol severe enough to
warrant this backstop. For now, it just allows us to get rid of img as
a global.

Sponsored by: Netflix
stand/efi/include/efizfs.h
stand/efi/libefi/efizfs.c
stand/efi/loader/main.c