On 2/8/23 15:57, Thomas Huth wrote:
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 <th...@redhat.com> --- hw/i386/intel_iommu_internal.h | 9 +++++++++ 1 file changed, 9 insertions(+)
Isn't it a bit hacky? Bitfields can be accessed in a portable way using the deposit/extract API, right?