]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386: Have X86_IOMMU devices inherit from DYNAMIC_SYS_BUS_DEVICE
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Sat, 25 Jan 2025 17:36:50 +0000 (18:36 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Sun, 16 Feb 2025 13:25:07 +0000 (14:25 +0100)
commit1e2f32bf71cd93788aa71859d0145d9a56667310
treec21a4f5ed1ccf27353b29aa9b58e5f0d1ba3ee4a
parent8abda739f35373ba0525be4bf6df4f69e31241b5
hw/i386: Have X86_IOMMU devices inherit from DYNAMIC_SYS_BUS_DEVICE

Do not explain why _X86_IOMMU devices are user_creatable,
have them inherit TYPE_DYNAMIC_SYS_BUS_DEVICE, to explicit
they can optionally be plugged on TYPE_PLATFORM_BUS_DEVICE.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alexander Graf <graf@amazon.com>
Reviewed-by: Clément Mathieu--Drif <clement.mathieu--drif@eviden.com>
Message-Id: <20250125181343.59151-7-philmd@linaro.org>
hw/i386/amd_iommu.c
hw/i386/intel_iommu.c
hw/i386/x86-iommu.c