On 23/02/17 19:35, Paolo Bonzini wrote: > > > On 23/02/2017 05:20, Alexey Kardashevskiy wrote: >> First, Paolo is right and ram_device_mem_ops::endianness should be >> host-endian which happens to be little in our test case (ppc64le) > > So you tested a ppc64 BE guest and it works?
Yes. Setting ram_device_mem_ops.endianness = DEVICE_LITTLE_ENDIAN does the job for both LE and BE guests on the LE host. -- Alexey