On Tue, Feb 25, 2025 at 09:10:40AM +0530, Ani Sinha wrote:
> On Mon, Feb 24, 2025 at 9:01 PM Gerd Hoffmann wrote:
> >
> > Hi,
> >
> > > /* should only be called once */
> > > -if (ovmf_flash_parsed) {
> > > +if (ovmf_flash_parsed && !force) {
> >
> > I think it makes more sense to c
On Mon, Feb 24, 2025 at 9:01 PM Gerd Hoffmann wrote:
>
> Hi,
>
> > /* should only be called once */
> > -if (ovmf_flash_parsed) {
> > +if (ovmf_flash_parsed && !force) {
>
> I think it makes more sense to clear ovmf_flash_parsed when replacing
> the firmware (instead of adding the f
Hi,
> /* should only be called once */
> -if (ovmf_flash_parsed) {
> +if (ovmf_flash_parsed && !force) {
I think it makes more sense to clear ovmf_flash_parsed when replacing
the firmware (instead of adding the force override).
take care,
Gerd
Normally, there is no need to perform firmware reconfiguration once the
virtal machine has started. Hence, currently ovmf firmware parsing happens only
once. However, if the firmware changes betweeen boots then reconfiguration needs
to happen again. Firmware can change if for example the guest brin