On 27/12/25 09:56, Paolo Bonzini wrote:


Il mer 24 dic 2025, 16:24 Philippe Mathieu-Daudé <[email protected] <mailto:[email protected]>> ha scritto:

    Guard the native endian APIs we want to remove by surrounding
    them with TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API #ifdef'ry.

    Once a target gets cleaned we'll set the definition in the
    target config, then the target won't be able to use the legacy
    API anymore.


Host endianness APIs are fine and are used when talking to the kernel. These functions that take a void* should not be included in TARGET_NOT_USING_LEGACY_NATIVE_ENDIAN_API.

(And also they are the same for all targets so they don't get in the way of the single binary effort).

Indeed they don't get in the way: I'm trying to have clearer APIs where
everything is explicit. Anyway I can live keeping this for now.

If the only change needed in the series is to drop this patch, don't bother with reposting.

OK, thanks.

Reply via email to