qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v1 01/19] target/arm: Make cpu_exclusive_high hold the high b


From: Peter Maydell
Subject: Re: [PATCH v1 01/19] target/arm: Make cpu_exclusive_high hold the high bits
Date: Thu, 23 Feb 2023 17:08:43 +0000

On Thu, 23 Feb 2023 at 16:51, Peter Maydell <peter.maydell@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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]