qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] nvme: fix CMB endianness confusion


From: Peter Maydell
Subject: Re: [Qemu-devel] [PATCH] nvme: fix CMB endianness confusion
Date: Thu, 22 Nov 2018 18:25:28 +0000

On 22 November 2018 at 18:23, Paolo Bonzini <address@hidden> wrote:
> The CMB is marked as DEVICE_LITTLE_ENDIAN, so the data must be
> read/written as if it was little-endian output (in the case of
> big endian, we get two swaps, one in the memory core and one
> in nvme.c).
>
> Signed-off-by: Paolo Bonzini <address@hidden>
> ---
>  hw/block/nvme.c | 7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)

Tested-by: Peter Maydell <address@hidden>

This is sufficient to get the nvme-test to pass on sparc
(big-endian host).

thanks
-- PMM



reply via email to

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