]> git.proxmox.com Git - mirror_qemu.git/blobdiff - hw/pci-host/gpex.c
pci: Add INTERFACE_CONVENTIONAL_PCI_DEVICE to Conventional PCI devices
[mirror_qemu.git] / hw / pci-host / gpex.c
index be252452194571e7bcbb063136a5065ee876ecb7..4090793cf0aae022513783870863dee72571a7b3 100644 (file)
@@ -166,6 +166,10 @@ static const TypeInfo gpex_root_info = {
     .parent = TYPE_PCI_DEVICE,
     .instance_size = sizeof(GPEXRootState),
     .class_init = gpex_root_class_init,
+    .interfaces = (InterfaceInfo[]) {
+        { INTERFACE_CONVENTIONAL_PCI_DEVICE },
+        { },
+    },
 };
 
 static void gpex_register(void)