summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorPaolo Bonzini2018-11-22 19:23:35 +0100
committerKevin Wolf2018-11-22 19:37:31 +0100
commit71a86ddece548860f040d565204cf1bf59d74663 (patch)
treec64dc8208eba88addce9661078b3317c6ff6cfa2 /include/exec
parentRevert "nvme: fix oob access issue(CVE-2018-16847)" (diff)
downloadqemu-71a86ddece548860f040d565204cf1bf59d74663.tar.gz
qemu-71a86ddece548860f040d565204cf1bf59d74663.tar.xz
qemu-71a86ddece548860f040d565204cf1bf59d74663.zip
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>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions