Revision f0513d2c hw/i386/pc_q35.c

b/hw/i386/pc_q35.c
41 41
#include "hw/ide/pci.h"
42 42
#include "hw/ide/ahci.h"
43 43
#include "hw/usb.h"
44
#include "hw/cpu/icc_bus.h"
44 45

  
45 46
/* ICH9 AHCI has 6 ports */
46 47
#define MAX_SATA_PORTS     6
......
75 76
    int i;
76 77
    ICH9LPCState *ich9_lpc;
77 78
    PCIDevice *ahci;
79
    DeviceState *icc_bridge;
80

  
81
    icc_bridge = qdev_create(NULL, TYPE_ICC_BRIDGE);
82
    object_property_add_child(qdev_get_machine(), "icc-bridge",
83
                              OBJECT(icc_bridge), NULL);
78 84

  
79 85
    pc_cpus_init(cpu_model);
80 86
    pc_acpi_init("q35-acpi-dsdt.aml");
......
158 164
    if (pci_enabled) {
159 165
        ioapic_init_gsi(gsi_state, NULL);
160 166
    }
167
    qdev_init_nofail(icc_bridge);
161 168

  
162 169
    pc_register_ferr_irq(gsi[13]);
163 170

  

Also available in: Unified diff