summary refs log tree commit diff stats
path: root/rust/qemu-api/src/tests.rs
diff options
context:
space:
mode:
authorZhenzhong Duan <zhenzhong.duan@intel.com>2024-11-04 20:55:34 +0800
committerMichael S. Tsirkin <mst@redhat.com>2024-11-04 16:03:25 -0500
commite70e83f561c45864eeb0945ae0298caa595262d2 (patch)
tree88b9b855d4bf94d1aa62bc491e27bfe9e74002b1 /rust/qemu-api/src/tests.rs
parent65fb66980d3a918ebe1e665cf6ae4ceb8dea2db1 (diff)
downloadfocaccia-qemu-e70e83f561c45864eeb0945ae0298caa595262d2.tar.gz
focaccia-qemu-e70e83f561c45864eeb0945ae0298caa595262d2.zip
intel_iommu: Send IQE event when setting reserved bit in IQT_TAIL
According to VTD spec, Figure 11-22, Invalidation Queue Tail Register,
"When Descriptor Width (DW) field in Invalidation Queue Address Register
(IQA_REG) is Set (256-bit descriptors), hardware treats bit-4 as reserved
and a value of 1 in the bit will result in invalidation queue error."

Current code missed to send IQE event to guest, fix it.

Fixes: c0c1d351849b ("intel_iommu: add 256 bits qi_desc support")
Suggested-by: Yi Liu <yi.l.liu@intel.com>
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Message-Id: <20241104125536.1236118-2-zhenzhong.duan@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'rust/qemu-api/src/tests.rs')
0 files changed, 0 insertions, 0 deletions