diff options
author | Ernest Esene | 2019-03-27 17:53:56 +0100 |
---|---|---|
committer | Eduardo Habkost | 2019-04-25 19:52:28 +0200 |
commit | 965242dbf47192a96472290302a66a4bd620f368 (patch) | |
tree | f787631e45eb5dee9f0e87194301353faaa540e1 /hw/i386/pc_piix.c | |
parent | i386: Add new Hygon 'Dhyana' CPU model (diff) | |
download | qemu-965242dbf47192a96472290302a66a4bd620f368.tar.gz qemu-965242dbf47192a96472290302a66a4bd620f368.tar.xz qemu-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/pc_piix.c')
-rw-r--r-- | hw/i386/pc_piix.c | 1 |
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; }; |