OSDN Git Service

hw/i386/pc: Remove x86_iommu_get_type()
authorJean-Philippe Brucker <jean-philippe@linaro.org>
Tue, 26 Oct 2021 18:20:21 +0000 (19:20 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Nov 2021 22:49:10 +0000 (18:49 -0400)
commit867e9c9f4cbc152aee5ed6157257986ecad29096
treec420c0c259938044278b908d1caaef19ef7fed3f
parent1f85d74ac542d57559babbe0525633837e9fd52f
hw/i386/pc: Remove x86_iommu_get_type()

To generate the IOMMU ACPI table, acpi-build.c can use base QEMU types
instead of a special IommuType value.

Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
Message-Id: <20211026182024.2642038-3-jean-philippe@linaro.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/acpi-build.c
hw/i386/amd_iommu.c
hw/i386/intel_iommu.c
hw/i386/x86-iommu-stub.c
hw/i386/x86-iommu.c
include/hw/i386/x86-iommu.h