hw/i386/amd_iommu: Add description/category to TYPE_AMD_IOMMU_PCI
commit64bc656decc0fdf59e23753de8940c744b39b586
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Sun, 26 Sep 2021 17:56:48 +0000 (26 19:56 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 5 Oct 2021 21:30:57 +0000 (5 17:30 -0400)
tree5c1c1196698c543d2768807bd929082b5c9fde82
parent8f6b7309c423a876dbb26975fdb48f582ebcabcd
hw/i386/amd_iommu: Add description/category to TYPE_AMD_IOMMU_PCI

TYPE_AMD_IOMMU_PCI is user-creatable but not well described.
Implement its class_init() handler to add it to the 'Misc
devices' category, and add a description.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20210926175648.1649075-4-f4bug@amsat.org>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/i386/amd_iommu.c