qemu-ppc
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-ppc] [Qemu-devel] [PATCH v3 2/3] Categorize devices: i82374


From: Ernest Esene
Subject: [Qemu-ppc] [Qemu-devel] [PATCH v3 2/3] Categorize devices: i82374
Date: Mon, 1 Apr 2019 19:13:50 +0100
User-agent: Mutt/1.11.4 (2019-03-13)

Set category and description for iommu devices

Signed-off-by: Ernest Esene <address@hidden>

---
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

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]