On 9/12/19 10:18 AM, Paolo Bonzini wrote:
> -MemOp devend_memop(enum device_endian end);
> +static inline MemOp devend_memop(enum device_endian end)
Ah ha, yes of course, the static inline.
Reviewed-by: Richard Henderson
r~
devend_memop can rely on the fact that the result is always either
0 or MO_BSWAP, corresponding respectively to host endianness and
the opposite. Native (target) endianness in turn can be either
the host endianness, in which case MO_BSWAP is only returned for
host-opposite endianness, or the oppos