From: Ernest Esene <eroken1@gmail.com>
To: qemu-devel@nongnu.org
Cc: "Stefan Hajnoczi" <stefanha@redhat.com>,
"Paolo Bonzini" <pbonzini@redhat.com>,
"Hervé Poussineau" <hpoussin@reactos.org>,
qemu-ppc@nongnu.org
Subject: [Qemu-devel] [PATCH v3 2/3] Categorize devices: i82374
Date: Mon, 1 Apr 2019 19:13:50 +0100 [thread overview]
Message-ID: <20190401181350.GA31823@erokenlabserver> (raw)
[-- 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 --]
reply other threads:[~2019-04-01 18:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190401181350.GA31823@erokenlabserver \
--to=eroken1@gmail.com \
--cc=hpoussin@reactos.org \
--cc=pbonzini@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=qemu-ppc@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.