On Thu, 23 Feb 2023 at 16:51, Peter Maydell <peter.mayd...@linaro.org> wrote: > The current state of affairs is arguably broken, because it > means you can't migrate a guest from a BE host to an LE host, > because the migration stream contains host-endian-dependent > data.
...thinking it through, this isn't right. The current code has cpu_exclusive_high always be the 64-bit word from the higher of the two addresses. The change proposes making it be the high part of the guest 128-bit value (which is different if the guest is in BE mode). Neither of those definitions depend on the host endianness: they're just different and we would have to figure out how to convert between them on migration. -- PMM