Revision ac47a60b hw/pci.c
b/hw/pci.c | ||
---|---|---|
135 | 135 |
{ |
136 | 136 |
PCIBus *bus; |
137 | 137 |
|
138 |
bus = FROM_QBUS(PCIBus, qbus_create(&pci_bus_info, &dev->qdev, NULL));
|
|
138 |
bus = qemu_mallocz(sizeof(PCIBus));
|
|
139 | 139 |
bus->map_irq = map_irq; |
140 | 140 |
bus->parent_dev = dev; |
141 | 141 |
bus->next = dev->bus->next; |
Also available in: Unified diff