All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel]  [PATCH v3 2/3] Categorize devices: i82374
@ 2019-04-01 18:13 Ernest Esene
  0 siblings, 0 replies; only message in thread
From: Ernest Esene @ 2019-04-01 18:13 UTC (permalink / raw)
  To: qemu-devel
  Cc: Stefan Hajnoczi, Paolo Bonzini, Hervé Poussineau, qemu-ppc

[-- Attachment #1: Type: text/plain, Size: 765 bytes --]

Set category and description for iommu devices

Signed-off-by: Ernest Esene <eroken1@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


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-01 18:13 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-01 18:13 [Qemu-devel] [PATCH v3 2/3] Categorize devices: i82374 Ernest Esene

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.