Set category and description for iommu devices Signed-off-by: Ernest Esene <erok...@gmail.com>
--- v3: * remove user_creatable v2: * split into separate patches --- hw/dma/i82374.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hw/dma/i82374.c b/hw/dma/i82374.c index 892f655a7e..aeb3da8ba6 100644 --- a/hw/dma/i82374.c +++ b/hw/dma/i82374.c @@ -147,6 +147,9 @@ static void i82374_class_init(ObjectClass *klass, void *data) dc->realize = i82374_realize; dc->vmsd = &vmstate_i82374; dc->props = i82374_properties; + dc->desc = "Intel Enhanced DMA controller"; + set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories); + dc->user_creatable = false; } static const TypeInfo i82374_info = { -- 2.14.2
signature.asc
Description: PGP signature