Displaying 5 results from an estimated 5 matches for "parttype_is_gpt".
2016 Jun 10
0
Re: [PATCH 1/2] v2v: fill the list of the EFI system partitions
...2A7328-F81F-11D2-BA4B-00A0C93EC93B"
> and is_uefi_ESP dev { G.part_num = partnum } =
> g#part_get_gpt_type dev (Int32.to_int partnum) = uefi_ESP_guid
> + and part_dev_name dev { G.part_num = partnum } =
> + sprintf "%s%d" dev (Int32.to_int partnum)
> and parttype_is_gpt dev =
> try g#part_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;
>...
2016 Jun 13
1
[PATCH] v2v: Fix get_firmware_bootable_device.
I'm going to push this because it's a test blocker, but FYI.
Rich.
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.
...t;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"; "-ql"; pkg_n...
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.