Displaying 4 results from an estimated 4 matches for "is_uefi_bootable_device".
2016 Jun 10
0
Re: [PATCH 1/2] v2v: fill the list of the EFI system partitions
..._get_parttype dev = "gpt"
> with G.Error msg as exn ->
> @@ -164,14 +166,25 @@ and has_uefi_bootable_device g =
> if g#last_errno () <> G.Errno.errno_EINVAL then raise exn;
> debug "%s (ignored)" msg;
> false
> - and is_uefi_bootable_device dev =
> - parttype_is_gpt dev && (
> - let partitions = Array.to_list (g#part_list dev) in
> - List.exists (is_uefi_ESP dev) partitions
> - )
> + and is_uefi_bootable_part dev part =
> + parttype_is_gpt dev && is_uefi_ESP dev part
> in
>...
2015 Jun 18
3
[PATCH v2 0/3] daemon: parted: Always use -s option even with -m.
version 2:
- Turn the "unrecognised disk label" error into errno == EINVAL
- Fix virt-alignment-scan
- Rework the fix for virt-v2v bug 1232192 (see description of patch 3/3)
2016 May 22
0
[PATCH 2/2] ocaml tools: Use a common debug function.
...(* 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 (ignored)" msg;
false
and is_uefi_bootable_device dev =
parttype_is_gpt dev && (
diff --git a/v2v/linux.ml b/v2v/linux.ml
index bffe566..01aaf7d 100644
--- a/v2v/linux.ml
+++ b/v2v/linux.ml
@@ -144,7 +144,7 @@ let file_list_of_package (g : Guestfs.guestfs) inspect app =
) else
pkg_name in
let cmd = [| "rpm&qu...
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.