summaryrefslogtreecommitdiff
path: root/hw/i386
diff options
context:
space:
mode:
authorErnest Esene <eroken1@gmail.com>2019-03-27 17:53:56 +0100
committerEduardo Habkost <ehabkost@redhat.com>2019-04-25 14:52:28 -0300
commit965242dbf47192a96472290302a66a4bd620f368 (patch)
treef787631e45eb5dee9f0e87194301353faaa540e1 /hw/i386
parent8d031cec366f26669807eb43f61eb335973b7053 (diff)
downloadqemu-965242dbf47192a96472290302a66a4bd620f368.zip
Categorize devices: IGD passthrough ISA bridge
Set category for the device. Signed-off-by: Ernest Esene <eroken1@gmail.com> Message-Id: <20190327133714.GA9329@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')
-rw-r--r--hw/i386/pc_piix.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/i386/pc_piix.c b/hw/i386/pc_piix.c
index 8ad8e885c6..03a9cb8af3 100644
--- a/hw/i386/pc_piix.c
+++ b/hw/i386/pc_piix.c
@@ -911,6 +911,7 @@ static void isa_bridge_class_init(ObjectClass *klass, void *data)
PCIDeviceClass *k = PCI_DEVICE_CLASS(klass);
dc->desc = "ISA bridge faked to support IGD PT";
+ set_bit(DEVICE_CATEGORY_BRIDGE, dc->categories);
k->vendor_id = PCI_VENDOR_ID_INTEL;
k->class_id = PCI_CLASS_BRIDGE_ISA;
};