diff options
author | Ernest Esene <eroken1@gmail.com> | 2019-03-27 18:05:18 +0100 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2019-04-25 14:52:28 -0300 |
commit | 1ec202c9bed532ea629af9ce95485dd36a183250 (patch) | |
tree | 83bc4d52afd4bdca8d7855bdfe4ff4d45418443d /hw/i386/intel_iommu.c | |
parent | 965242dbf47192a96472290302a66a4bd620f368 (diff) | |
download | qemu-1ec202c9bed532ea629af9ce95485dd36a183250.zip qemu-1ec202c9bed532ea629af9ce95485dd36a183250.tar.gz qemu-1ec202c9bed532ea629af9ce95485dd36a183250.tar.bz2 |
Categorize devices: iommu
Set category and description for iommu devices.
Signed-off-by: Ernest Esene <eroken1@gmail.com>
Message-Id: <20190327170518.GA16887@erokenlabserver>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
[ehabkost: edited commit message]
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/i386/intel_iommu.c')
-rw-r--r-- | hw/i386/intel_iommu.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index 2558f48..44b1231 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -3741,6 +3741,8 @@ static void vtd_class_init(ObjectClass *klass, void *data) x86_class->int_remap = vtd_int_remap; /* Supported by the pc-q35-* machine types */ dc->user_creatable = true; + set_bit(DEVICE_CATEGORY_MISC, dc->categories); + dc->desc = "Intel IOMMU (VT-d) DMA Remapping device"; } static const TypeInfo vtd_info = { |