On 12/20/22 21:57, Andrey Drobyshev wrote:
> On 12/20/22 11:51, Laszlo Ersek wrote:
>> On 12/19/22 23:16, Andrey Drobyshev wrote:
>>
>>> Now I'm a bit confused myself as a result of our discussion: should we
>>> really give priority to BIOS Boot partition? Because I tried to
>>> replay the opposit
On 12/20/22 16:01, Andrey Drobyshev wrote:
> According to [1], there're different ways to specify which firmware is
> to be used by a libvirt-driven VM. Namely, there's an automatic
> firmware selection, e.g.:
>
> ...
>
> ...
>
> and a manual one, e.g.:
>
> ...
>
>
This patch is merely a refactoring and does not introduce any changes in
behaviour. It's used as a prelude for the next patch which prioritizes
BIOS boot partition when searching for the right firmware.
Co-authored-by: Laszlo Ersek
Signed-off-by: Andrey Drobyshev
---
convert/inspect_source.ml
If the guest uses BIOS firmware but GPT partitioned disk, v2v inspection
might fail to correctly detect the firmware being used by the source mathine.
Namely, consider the following GPT partition table:
Number Start (sector)End (sector) Size Code Name
120484
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
inspe
On 12/21/22 10:53, Laszlo Ersek wrote:
> On 12/20/22 21:57, Andrey Drobyshev wrote:
>> On 12/20/22 11:51, Laszlo Ersek wrote:
>>> On 12/19/22 23:16, Andrey Drobyshev wrote:
>>>
Now I'm a bit confused myself as a result of our discussion: should we
really give priority to BIOS Boot partiti
On 12/21/22 17:38, Andrey Drobyshev wrote:
> This patch is merely a refactoring and does not introduce any changes in
> behaviour. It's used as a prelude for the next patch which prioritizes
> BIOS boot partition when searching for the right firmware.
>
> Co-authored-by: Laszlo Ersek
> Signed-of
On 12/21/22 17:38, Andrey Drobyshev wrote:
> If the guest uses BIOS firmware but GPT partitioned disk, v2v inspection
> might fail to correctly detect the firmware being used by the source mathine.
> Namely, consider the following GPT partition table:
>
> Number Start (sector)End (sector) Si
On 12/15/22 12:15, Laszlo Ersek wrote:
> Virtio-win may provide the "qemufwcfg" stub driver and/or the "fwcfg"
> actual driver. If both are provided, we must not install both, as they
> conflict with each other. Pick "fwcfg" in this case.
>
> Because the drivers can originate from two sources (li