]> git.proxmox.com Git - qemu.git/blobdiff - hw/pci_internals.h
Merge remote-tracking branch 'spice/spice.v39' into staging
[qemu.git] / hw / pci_internals.h
index e3c93a3cc58397202e1ba88b17c1bb4854eef1ed..fbe186680877850ba3e219ce04993943474268b6 100644 (file)
@@ -16,13 +16,13 @@ extern struct BusInfo pci_bus_info;
 
 struct PCIBus {
     BusState qbus;
-    int devfn_min;
+    uint8_t devfn_min;
     pci_set_irq_fn set_irq;
     pci_map_irq_fn map_irq;
     pci_hotplug_fn hotplug;
     DeviceState *hotplug_qdev;
     void *irq_opaque;
-    PCIDevice *devices[256];
+    PCIDevice *devices[PCI_SLOT_MAX * PCI_FUNC_MAX];
     PCIDevice *parent_dev;
     target_phys_addr_t mem_base;