The first patch is merely a functional style refactoring. The 2nd patch
introduces actual change in the logic.
v1 + upstream discussion:
https://listman.redhat.com/archives/libguestfs/2022-December/030401.html
Andrey Drobyshev (2):
inspect: use List.fold_left to iterate over partitions
inspect: check presence of BIOS boot partition to handle BIOS+GPT
setup
convert/inspect_source.ml | 38 ++++++++++++++++++++++++++------------
1 file changed, 26 insertions(+), 12 deletions(-)
--
2.31.1