[image] Simplify image management
Refactor the {load,exec} image operations as {probe,exec}. This makes
the probe mechanism cleaner, eliminates some forward declarations,
avoids holding magic state in image->priv, eliminates the possibility
of screwing up between the "load" and "exec" stages, and makes the
documentation simpler since the concept of "loading" (as distinct from
"executing") no longer needs to be explained.
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
+1
-1
@@ -184,7 +184,7 @@ int uriboot ( struct uri *filename, struct uri *root_path ) {
|
||||
/* Attempt filename boot if applicable */
|
||||
if ( filename ) {
|
||||
if ( ( rc = imgdownload ( image, filename,
|
||||
register_and_autoexec_image ) ) !=0){
|
||||
register_and_boot_image ) ) != 0 ) {
|
||||
printf ( "\nCould not chain image: %s\n",
|
||||
strerror ( rc ) );
|
||||
/* Fall through to (possibly) attempt a SAN boot
|
||||
|
||||
Reference in New Issue
Block a user