Displaying 3 results from an estimated 3 matches for "has_uefi_bootable_device".
2016 Jun 10
0
Re: [PATCH 1/2] v2v: fill the list of the EFI system partitions
...100644
> --- a/v2v/inspect_source.ml
> +++ b/v2v/inspect_source.ml
> @@ -68,7 +68,7 @@ let rec inspect_source root_choice g =
> (* See if this guest could use UEFI to boot. It should use GPT and
> * it should have an EFI System Partition (ESP).
> *)
> - let uefi = has_uefi_bootable_device g in
> + let uefi = get_uefi_bootable_device g in
>
> let inspect = {
> i_root = root;
> @@ -153,10 +153,12 @@ and reject_if_not_installed_image g root =
> if fmt <> "installed" then
> error (f_"libguestfs thinks this is not an installed...
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...86,7 +86,7 @@ let rec inspect_source root_choice g =
i_apps_map = apps_map;
i_uefi = uefi
} in
- if verbose () then printf "%s%!" (string_of_inspect inspect);
+ debug "%s" (string_of_inspect inspect);
sanity_check_inspection inspect;
@@ -162,7 +162,7 @@ and has_uefi_bootable_device g =
with G.Error msg as exn ->
(* If it's _not_ "unrecognised disk label" then re-raise it. *)
if g#last_errno () <> G.Errno.errno_EINVAL then raise exn;
- if verbose () then printf "%s (ignored)\n" msg;
+ debug "%s (ign...
2016 May 22
4
ocaml tools: Use a common debug function.
Add a Common_utils.debug function for printing messages
only when in verbose mode.
Rich.