Hi, > > See > > https://lore.kernel.org/qemu-devel/20250219071431.50626-2-kra...@redhat.com/ > > After looking at it, it seems to me that data will be in host byte order > and guest has no idea what that is. > Probably it should advertise byteorder as part of the structure, > and guest side should then do conversion if necessary.
The structure is already defined and in use by edk2, so changing it is not an option. Guest is little endian (there is no big endian UEFI). So simply declaring the struct fields being little endian byte order and convert them if needed on the host side makes alot more sense here. I'll fix the patch accordingly for v5. take care, Gerd