aboutsummaryrefslogtreecommitdiff
path: root/trace/control-internal.h
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-08-02 15:57:18 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-08-03 16:06:49 -0400
commitcc2a08480e19007c05be8fe5b6893e20448954dc (patch)
treea612a9b1a63ab9fbb717037001529a601de73f46 /trace/control-internal.h
parent18f2971ce403008d5e1c2875b483c9d1778143dc (diff)
downloadqemu-cc2a08480e19007c05be8fe5b6893e20448954dc.zip
qemu-cc2a08480e19007c05be8fe5b6893e20448954dc.tar.gz
qemu-cc2a08480e19007c05be8fe5b6893e20448954dc.tar.bz2
hw/i386/intel_iommu: Fix trivial endianness problems
After reading the guest memory with dma_memory_read(), we have to make sure that we byteswap the little endian data to the host's byte order. Signed-off-by: Thomas Huth <thuth@redhat.com> Message-Id: <20230802135723.178083-2-thuth@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'trace/control-internal.h')
0 files changed, 0 insertions, 0 deletions