commit | 71a86ddece548860f040d565204cf1bf59d74663 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Nov 22 19:23:35 2018 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Thu Nov 22 19:37:31 2018 +0100 |
tree | c64dc8208eba88addce9661078b3317c6ff6cfa2 | |
parent | 2067d39e5e53b053bece6fa15711640123c119ed [diff] |
nvme: fix CMB endianness confusion 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 <pbonzini@redhat.com> Tested-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Kevin Wolf <kwolf@redhat.com>