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: Wed, 26 Aug 2015 15:21:59 +0100

On 26 August 2015 at 11:04, Jason Wang <address@hidden> wrote:
> Wildcard mmio eventfd use zero size, but it will lead abort() since it
> was illegal in adjust_endianness(). Fix this by allowing zero size.
>
> Cc: Greg Kurz <address@hidden>
> Cc: Paolo Bonzini <address@hidden>
> Signed-off-by: Jason Wang <address@hidden>

This seems to me like a bug in the caller. Why would anything
try to call into the memory subsystem to do a zero-size
transaction?

thanks
-- PMM



reply via email to

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