]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
bhyveload(8): Implement loader_callbacks::diskwrite
authorcem <cem@FreeBSD.org>
Wed, 7 Oct 2020 20:31:13 +0000 (20:31 +0000)
committercem <cem@FreeBSD.org>
Wed, 7 Oct 2020 20:31:13 +0000 (20:31 +0000)
commit35302028d5b84b2ae8314246f047ee093677a04b
tree1d5cf06bfa57b756eab614defb3699e9fb6c77cf
parent66fb704e75989a621f47c46efa55572299a17401
bhyveload(8): Implement loader_callbacks::diskwrite

The method was optional prior to r365938, which made it mandatory but did add
any test that an implementation provides the method nor implement it for
bhyveload.  The code path might not be hit unless the user's loader was
configured to write to a file on disk, such as with nextboot(8).

Reviewed by: grehan, tsoome
Approved by: bhyve
X-MFC-With: r365938
Differential Revision: https://reviews.freebsd.org/D26710
usr.sbin/bhyveload/bhyveload.c