Re: [PATCH 1/6] hw/i386/intel_iommu: Fix trivial endianness problems

2023-08-02 Thread Philippe Mathieu-Daudé
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 --- hw/i386/intel_iommu.c | 5 + 1 file changed, 5 insertions(+) Maybe worth

[PATCH 1/6] hw/i386/intel_iommu: Fix trivial endianness problems

2023-08-02 Thread Thomas Huth
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 --- hw/i386/intel_iommu.c | 5 + 1 file changed, 5 insertions(+) diff --git a/hw/i386/intel_iommu.c