summary refs log tree commit diff stats
path: root/hw/i386/intel_iommu.c
diff options
context:
space:
mode:
authorThomas Huth <thuth@redhat.com>2023-08-02 15:57:20 +0200
committerMichael S. Tsirkin <mst@redhat.com>2023-08-03 16:06:49 -0400
commit4572b22cf9ba432fa3955686853c706a1821bbc7 (patch)
tree2298562c240452e3985949114631ea699b0efeae /hw/i386/intel_iommu.c
parent642ba89672279fbdd14016a90da239c85e845d18 (diff)
downloadfocaccia-qemu-4572b22cf9ba432fa3955686853c706a1821bbc7.tar.gz
focaccia-qemu-4572b22cf9ba432fa3955686853c706a1821bbc7.zip
hw/i386/intel_iommu: Fix struct VTDInvDescIEC on big endian hosts
On big endian hosts, we need to reverse the bitfield order in the
struct VTDInvDescIEC, just like it is already done for the other
bitfields in the various structs of the intel-iommu device.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20230802135723.178083-4-thuth@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Peter Xu <peterx@redhat.com>
Diffstat (limited to 'hw/i386/intel_iommu.c')
0 files changed, 0 insertions, 0 deletions