]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386/amd_iommu: Remove unused and wrongly set ats_enabled field
authorSairaj Kodilkar <sarunkod@amd.com>
Fri, 1 Aug 2025 06:05:03 +0000 (11:35 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 1 Aug 2025 14:23:02 +0000 (10:23 -0400)
commit47d50cc421b832650822d73431d920bb8a80bc38
tree96d47f50830e55a49f4ee66659a960fbc622fb93
parent96c75abc872c1a90c8e1f4a4d2ed35e89a1befe9
hw/i386/amd_iommu: Remove unused and wrongly set ats_enabled field

The ats_enabled field is set using HTTUNEN, which is wrong.
Fix this by removing the field as it is never used.

MST: includes a tweak suggested by Philippe

Fixes: d29a09ca68428 ("hw/i386: Introduce AMD IOMMU")
Signed-off-by: Sairaj Kodilkar <sarunkod@amd.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Message-Id: <20250801060507.3382-3-sarunkod@amd.com>
Message-ID: <948a6ac3-ded9-475b-8c45-9d36220b442b@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/amd_iommu.c
hw/i386/amd_iommu.h