On 2/8/23 15:57, Thomas Huth wrote:
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 <th...@redhat.com> --- hw/i386/intel_iommu.c | 5 +++++ 1 file changed, 5 insertions(+)
Maybe worth adding a comment in "hw/i386/intel_iommu.h" around VTDPASIDEntry::val mentioning little endianness. Reviewed-by: Philippe Mathieu-Daudé <phi...@linaro.org>