On Thu, Aug 27, 2015 at 01:20:52PM +0100, Peter Maydell wrote: > On 27 August 2015 at 13:17, Michael S. Tsirkin <m...@redhat.com> wrote: > > Basically the point is that ABI is extended to make > > ioeventfd with len = 0 mean "any length". > > 0 is thus not meaningless anymore. > > But how can you do adjustment for incorrect endianness > if you don't know the size of the data that you're > trying to work with? That's why this switch insists > that the size is 1, 2, 4 or 8. > > -- PMM
For kvm at least, "any length" implies "any data". So data is eventually discarded, we don't really need to adjust it for endian-ness. -- MST