qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] memory: allow zero size for adjust_endianne


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH 1/2] memory: allow zero size for adjust_endianness()
Date: Thu, 27 Aug 2015 13:20:52 +0100

On 27 August 2015 at 13:17, Michael S. Tsirkin <address@hidden> 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



reply via email to

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