|
@@ -228,10 +228,10 @@ static void pc_q35_init(MachineState *machine)
|
|
lpc_dev = DEVICE(lpc);
|
|
lpc_dev = DEVICE(lpc);
|
|
qdev_prop_set_bit(lpc_dev, "smm-enabled",
|
|
qdev_prop_set_bit(lpc_dev, "smm-enabled",
|
|
x86_machine_is_smm_enabled(x86ms));
|
|
x86_machine_is_smm_enabled(x86ms));
|
|
- pci_realize_and_unref(lpc, host_bus, &error_fatal);
|
|
|
|
for (i = 0; i < IOAPIC_NUM_PINS; i++) {
|
|
for (i = 0; i < IOAPIC_NUM_PINS; i++) {
|
|
qdev_connect_gpio_out_named(lpc_dev, ICH9_GPIO_GSI, i, x86ms->gsi[i]);
|
|
qdev_connect_gpio_out_named(lpc_dev, ICH9_GPIO_GSI, i, x86ms->gsi[i]);
|
|
}
|
|
}
|
|
|
|
+ pci_realize_and_unref(lpc, host_bus, &error_fatal);
|
|
|
|
|
|
rtc_state = ISA_DEVICE(object_resolve_path_component(OBJECT(lpc), "rtc"));
|
|
rtc_state = ISA_DEVICE(object_resolve_path_component(OBJECT(lpc), "rtc"));
|
|
|
|
|