[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] hw/x86: Always treat the PVH entrypoint as a 32-bit field
From: |
Ard Biesheuvel |
Subject: |
Re: [PATCH] hw/x86: Always treat the PVH entrypoint as a 32-bit field |
Date: |
Fri, 27 Sep 2024 15:24:01 +0200 |
On Fri, 27 Sept 2024 at 14:05, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> On 9/27/24 09:19, Ard Biesheuvel wrote:
> > -
> > - pvh_start_addr = *(uint32_t *)elf_note_data_addr;
> > }
> >
> > + pvh_start_addr = *(uint32_t *)elf_note_data_addr;
>
> I think we even want ldl_le_p(elf_note_data_addr) here? It makes no
> sense to read big-endian data.
>
Yeah good point.